[cairo-commit] src/cairo-atomic-private.h util/cairo-trace

M. Joonas Pihlaja joonas at kemper.freedesktop.org
Mon Sep 14 04:31:28 PDT 2009


 src/cairo-atomic-private.h |    2 ++
 util/cairo-trace/trace.c   |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 4152cd90e25ffa9d2a3683c790bd2891a58c52de
Author: M Joonas Pihlaja <jpihlaja at cc.helsinki.fi>
Date:   Mon Sep 14 14:29:01 2009 +0300

    [autoconf] Comment on the SIZEOF_VOID__ -> SIZEOF_VOID_P workaround.
    
    Explain where the weird SIZEOF_VOID__ comes from.

diff --git a/src/cairo-atomic-private.h b/src/cairo-atomic-private.h
index 86e400f..bf79b7a 100644
--- a/src/cairo-atomic-private.h
+++ b/src/cairo-atomic-private.h
@@ -43,6 +43,8 @@
 #include "config.h"
 #endif
 
+/* The autoconf on OpenBSD 4.5 produces the malformed constant name
+ * SIZEOF_VOID__ rather than SIZEOF_VOID_P.  Work around that here. */
 #if !defined(SIZEOF_VOID_P) && defined(SIZEOF_VOID__)
 # define SIZEOF_VOID_P SIZEOF_VOID__
 #endif
diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index c4fae7c..ac88e43 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -22,6 +22,8 @@
 #include "config.h"
 #endif
 
+/* The autoconf on OpenBSD 4.5 produces the malformed constant name
+ * SIZEOF_VOID__ rather than SIZEOF_VOID_P.  Work around that here. */
 #if !defined(SIZEOF_VOID_P) && defined(SIZEOF_VOID__)
 # define SIZEOF_VOID_P SIZEOF_VOID__
 #endif


More information about the cairo-commit mailing list