summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2010-03-15 15:20:05 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2010-03-15 15:20:23 -0700
commit313353f1fb9d40d0c3aaf7cfb99ca978b29003a4 (patch)
treeecd479c42cefebd6c7315cf78d56db198b719498
parentb67f784a5dc51f41e40bb1a165411f5259ea0ee4 (diff)
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@sun.com>
-rw-r--r--pixman/pixman-compiler.h2
1 files changed, 1 insertions, 1 deletions
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)