bug 638764 - followup, fix a bunch of compilation warnings in cairo build. r=bas
authorJonathan Kew <jfkthame@gmail.com>
Mon, 11 Apr 2011 13:02:51 +0100
changeset 67840 364b5727594a5c7b089dc6e36c70e35140accf86
parent 67839 6cfaf3ab8b96d90a3c637e9bbb8f1310b0f51702
child 67841 7a0acca5854b71c523d7387f021b62324d40051b
push idunknown
push userunknown
push dateunknown
reviewersbas
bugs638764
milestone2.2a1pre
bug 638764 - followup, fix a bunch of compilation warnings in cairo build. r=bas
gfx/cairo/cairo/src/cairo-platform.h
--- a/gfx/cairo/cairo/src/cairo-platform.h
+++ b/gfx/cairo/cairo/src/cairo-platform.h
@@ -34,16 +34,19 @@
  *	Stuart Parmenter <stuart@mozilla.com>
  */
 
 #ifndef CAIRO_PLATFORM_H
 #define CAIRO_PLATFORM_H
 
 #include "prcpucfg.h"
 
+/* we're replacing any definition from cairoint.h etc */
+#undef cairo_public
+
 #if defined(MOZ_ENABLE_LIBXUL)
 
 #ifdef HAVE_VISIBILITY_HIDDEN_ATTRIBUTE
 #define CVISIBILITY_HIDDEN __attribute__((visibility("hidden")))
 #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
 #define CVISIBILITY_HIDDEN __hidden
 #else
 #define CVISIBILITY_HIDDEN