[cairo-commit] src/cairo-compiler-private.h
Jeff Muizelaar
jrmuizel at kemper.freedesktop.org
Fri Mar 20 14:17:28 PDT 2009
src/cairo-compiler-private.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 86a935de42318c4be92a657ce8e8c452693d4414
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date: Fri Mar 20 17:14:08 2009 -0400
[msvc] Fix definition of CAIRO_ENSURE_UNIQUE for non-x86
The current definition of CAIRO_ENSURE_UNIQUE uses x86 assembly so make sure we
only compile it when targeting x86.
diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h
index f796e13..445ef76 100644
--- a/src/cairo-compiler-private.h
+++ b/src/cairo-compiler-private.h
@@ -172,7 +172,7 @@
#define inline __inline
#endif
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && defined(_M_IX86)
/* 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
More information about the cairo-commit
mailing list