diff options
author | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-03-20 17:14:08 -0400 |
---|---|---|
committer | Jeff Muizelaar <jmuizelaar@mozilla.com> | 2009-03-20 17:14:08 -0400 |
commit | 86a935de42318c4be92a657ce8e8c452693d4414 (patch) | |
tree | 021a352c1ca4a56e63a863a601be432c3eb444d8 /src/cairo-compiler-private.h | |
parent | c932a809d6484503d7ee267d934bbc87c8d44092 (diff) | |
download | cairo-86a935de42318c4be92a657ce8e8c452693d4414.tar.gz |
[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.
Diffstat (limited to 'src/cairo-compiler-private.h')
-rw-r--r-- | src/cairo-compiler-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-compiler-private.h b/src/cairo-compiler-private.h index f796e1380..445ef76ba 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 |