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 364b5727594a
parent 67839 6cfaf3ab8b96
child 67841 7a0acca5854b
push id19437
push usereakhgari@mozilla.com
push date2011-04-11 17:12 +0000
treeherdermozilla-central@f65b79eeabd4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbas
bugs638764
milestone2.2a1pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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