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

Carl Worth commit at pdx.freedesktop.org
Mon Sep 26 15:48:08 PDT 2005

Committed by: cworth

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

Modified Files:
      Tag: BRANCH_1_0
Log Message:

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

        Backported from HEAD:
        2005-09-07  Carl Worth  <cworth at cworth.org>

        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

Index: cairoint.h
RCS file: /cvs/cairo/cairo/src/cairoint.h,v
retrieving revision
retrieving revision
diff -u -d -r1.207.2.1 -r1.207.2.2
--- cairoint.h	19 Sep 2005 21:28:39 -0000
+++ cairoint.h	26 Sep 2005 22:48:06 -0000
@@ -149,7 +149,8 @@
-# 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_LOCK(name)

More information about the cairo-commit mailing list