diff options
author | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2009-09-13 17:56:56 -0600 |
---|---|---|
committer | M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> | 2009-09-14 13:32:18 +0300 |
commit | 1c7ac6c47addd6825c4f49f514fe3ffb708e3813 (patch) | |
tree | ea723f968596ccb0a1bc82ec456291b4780d14e3 /src/cairo-atomic-private.h | |
parent | 12470fd7010ea0748c8dcc9014d1cd0f52f51a3b (diff) | |
download | cairo-1c7ac6c47addd6825c4f49f514fe3ffb708e3813.tar.gz |
[build] Work around autoconf void* -> VOID__ name conversion bug.
The autoconf shipping with OpenBSD 4.5 converts sizeof(void*)
to SIZEOF_VOID__ rather than SIZEOF_VOID_P. Work around that
by defining SIZEOF_VOID_P if required.
Diffstat (limited to 'src/cairo-atomic-private.h')
-rw-r--r-- | src/cairo-atomic-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cairo-atomic-private.h b/src/cairo-atomic-private.h index 10c014ceb..86e400f49 100644 --- a/src/cairo-atomic-private.h +++ b/src/cairo-atomic-private.h @@ -43,6 +43,10 @@ #include "config.h" #endif +#if !defined(SIZEOF_VOID_P) && defined(SIZEOF_VOID__) +# define SIZEOF_VOID_P SIZEOF_VOID__ +#endif + CAIRO_BEGIN_DECLS #if HAVE_INTEL_ATOMIC_PRIMITIVES |