diff options
-rw-r--r-- | src/cairo-atomic-private.h | 4 | ||||
-rw-r--r-- | util/cairo-trace/trace.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/cairo-atomic-private.h b/src/cairo-atomic-private.h index 10c014ce..86e400f4 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 diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c index a3b36976..2cbc682a 100644 --- a/util/cairo-trace/trace.c +++ b/util/cairo-trace/trace.c @@ -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> |