Bug 484076 - Fix Windows CE build.
authorJeff Muizelaar <jmuizelaar@mozilla.com>
Fri, 20 Mar 2009 16:46:52 -0400
changeset 26424 3aba63a26a48c3215fa87b9dc81a5accb11c99be
parent 26423 762b098aed655532d406d052d78ef693d99832c1
child 26425 8f59f15f01a0c416a155c4c277e1733897ec7cd5
push id6061
push userjdrew@mozilla.com
push dateFri, 20 Mar 2009 20:47:20 +0000
treeherdermozilla-central@3aba63a26a48 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs484076
milestone1.9.2a1pre
Bug 484076 - Fix Windows CE build.
gfx/cairo/cairo/src/cairo-compiler-private.h
--- a/gfx/cairo/cairo/src/cairo-compiler-private.h
+++ b/gfx/cairo/cairo/src/cairo-compiler-private.h
@@ -167,17 +167,17 @@
 #define pclose _pclose
 #endif
 
 #ifdef _MSC_VER
 #undef inline
 #define inline __inline
 #endif
 
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && !defined(WINCE)
 /* When compiling with /Gy and /OPT:ICF identical functions will be folded in together.
    The CAIRO_ENSURE_UNIQUE macro ensures that a function is always unique and
    will never be folded into another one. Something like this might eventually
    be needed for GCC but it seems fine for now. */
 #define CAIRO_ENSURE_UNIQUE                       \
     do {                                          \
 	char func[] = __FUNCTION__;               \
 	char file[] = __FILE__;                   \