michael@0: diff --git a/gfx/cairo/libpixman/src/pixman-compiler.h b/gfx/cairo/libpixman/src/pixman-compiler.h michael@0: --- a/gfx/cairo/libpixman/src/pixman-compiler.h michael@0: +++ b/gfx/cairo/libpixman/src/pixman-compiler.h michael@0: @@ -59,26 +59,33 @@ michael@0: # ifndef force_inline michael@0: # define force_inline inline michael@0: # endif michael@0: # ifndef noinline michael@0: # define noinline michael@0: # endif michael@0: #endif michael@0: michael@0: +/* In libxul builds we don't ever want to export pixman symbols */ michael@0: +#if 1 michael@0: +# define PIXMAN_EXPORT cairo_public michael@0: +#else michael@0: + michael@0: /* GCC visibility */ michael@0: #if defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32) michael@0: # define PIXMAN_EXPORT __attribute__ ((visibility("default"))) michael@0: /* Sun Studio 8 visibility */ michael@0: #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) michael@0: # define PIXMAN_EXPORT __global michael@0: #else michael@0: # define PIXMAN_EXPORT michael@0: #endif michael@0: michael@0: +#endif michael@0: + michael@0: /* TLS */ michael@0: #if defined(PIXMAN_NO_TLS) michael@0: michael@0: # define PIXMAN_DEFINE_THREAD_LOCAL(type, name) \ michael@0: static type name michael@0: # define PIXMAN_GET_THREAD_LOCAL(name) \ michael@0: (&name) michael@0: