pixman: Branch 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Mon Mar 15 15:22:48 PDT 2010
pixman/pixman-compiler.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 313353f1fb9d40d0c3aaf7cfb99ca978b29003a4
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date: Mon Mar 15 15:20:05 2010 -0700
Add Sun cc to thread-local support checks in pixman-compiler.h
Clears '#warning: "unknown compiler"' messages when building
Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>
diff --git a/pixman/pixman-compiler.h b/pixman/pixman-compiler.h
index caafd0f..5aeef86 100644
--- a/pixman/pixman-compiler.h
+++ b/pixman/pixman-compiler.h
@@ -70,7 +70,7 @@
#endif
/* TLS */
-#if defined (__GNUC__) && ((__GNUC__ == 3 && __GNUC_MINOR >= 3) || __GNUC__ > 3)
+#if (defined (__GNUC__) && ((__GNUC__ == 3 && __GNUC_MINOR >= 3) || __GNUC__ > 3)) || defined(__SUNPRO_C)
# define THREAD_LOCAL __thread
#elif defined (_MSC_VER)
# define THREAD_LOCAL __declspec(thread)
More information about the xorg-commit
mailing list