[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-commit
Subject:    [cairo-commit] src/cairo-compiler-private.h
From:       jrmuizel () kemper ! freedesktop ! org (Jeff Muizelaar)
Date:       2009-03-20 21:17:28
Message-ID: 20090320211728.BFBB710096 () kemper ! freedesktop ! org
[Download RAW message or body]

 src/cairo-compiler-private.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 86a935de42318c4be92a657ce8e8c452693d4414
Author: Jeff Muizelaar <jmuizelaar@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
_______________________________________________
cairo-commit mailing list
cairo-commit@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic