summaryrefslogtreecommitdiff
path: root/src/cairo-atomic-private.h
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-09-14 14:29:01 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-09-14 14:29:01 +0300
commit4152cd90e25ffa9d2a3683c790bd2891a58c52de (patch)
treeff7d52b0f2d55743c8f6492bd99d87e7935d568f /src/cairo-atomic-private.h
parentcd94bf8bf30de9aa8dfec1a06a7ef3386944c974 (diff)
downloadcairo-4152cd90e25ffa9d2a3683c790bd2891a58c52de.tar.gz
[autoconf] Comment on the SIZEOF_VOID__ -> SIZEOF_VOID_P workaround.
Explain where the weird SIZEOF_VOID__ comes from.
Diffstat (limited to 'src/cairo-atomic-private.h')
-rw-r--r--src/cairo-atomic-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-atomic-private.h b/src/cairo-atomic-private.h
index 86e400f49..bf79b7a99 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