mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 06:28:01 +02:00
[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.
This commit is contained in:
parent
12470fd701
commit
1c7ac6c47a
2 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -22,6 +22,10 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#if !defined(SIZEOF_VOID_P) && defined(SIZEOF_VOID__)
|
||||
# define SIZEOF_VOID_P SIZEOF_VOID__
|
||||
#endif
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue