[cairo-commit] cairo/src cairoint.h,1.209,1.210

Carl Worth commit at pdx.freedesktop.org
Wed Sep 7 16:58:01 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv16453/src

Modified Files:
	cairoint.h 
Log Message:

2005-09-07  Carl Worth  <cworth at cworth.org>

        * ROADMAP: Put win32 mutex locking on the 1.2.0 roadmap.

        Portability improvements for win32 thanks to Hans Breuer
        <hans at breuer.org>:

        * pixman/src/pixman.h: Defined sized-integer types when under the
        influence of _MSC_VER and without stdint.h.

        * src/cairoint.h: Use #error which is more portable than #warning,
        (and more indicative of where we want to be before the next
        release).


Index: cairoint.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairoint.h,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -d -r1.209 -r1.210
--- cairoint.h	1 Sep 2005 02:11:22 -0000	1.209
+++ cairoint.h	7 Sep 2005 23:57:59 -0000	1.210
@@ -139,7 +139,8 @@
 #endif
 
 #ifndef CAIRO_MUTEX_DECLARE
-# warning "No mutex declarations, assuming single-threaded code"
+# error "No mutex declarations. Cairo will not work with multiple threads." \
+	"(Remove this #error directive to acknowledge & accept this limitation)."
 # define CAIRO_MUTEX_DECLARE(name)
 # define CAIRO_MUTEX_DECLARE_GLOBAL(name)
 # define CAIRO_MUTEX_LOCK(name)



More information about the cairo-commit mailing list