Module Name:    xsrc
Committed By:   joerg
Date:           Thu Oct 13 23:26:59 UTC 2016

Modified Files:
        xsrc/external/mit/pixman/dist/pixman: pixman-x86.c

Log Message:
Using defined() in a macro as condition for another #if is not portable C.

To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/pixman/dist/pixman/pixman-x86.c
diff -u xsrc/external/mit/pixman/dist/pixman/pixman-x86.c: xsrc/external/mit/pixman/dist/pixman/pixman-x86.c:1.2
--- xsrc/external/mit/pixman/dist/pixman/pixman-x86.c:	Mon Mar 17 01:18:22 2014
+++ xsrc/external/mit/pixman/dist/pixman/pixman-x86.c	Thu Oct 13 23:26:59 2016
@@ -74,8 +74,11 @@ detect_cpu_features (void)
-#define _PIXMAN_X86_64							\
-    (defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64))
+#if defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64)
+#define _PIXMAN_X86_64 1
+#define _PIXMAN_X86_64 0
 static pixman_bool_t
 have_cpuid (void)

Reply via email to