projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b67f784
)
Add Sun cc to thread-local support checks in pixman-compiler.h
author
Alan Coopersmith
<alan.coopersmith@sun.com>
Mon, 15 Mar 2010 22:20:05 +0000
(15:20 -0700)
committer
Alan Coopersmith
<alan.coopersmith@sun.com>
Mon, 15 Mar 2010 22:20:23 +0000
(15:20 -0700)
Clears '#warning: "unknown compiler"' messages when building
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
pixman/pixman-compiler.h
patch
|
blob
|
history
diff --git
a/pixman/pixman-compiler.h
b/pixman/pixman-compiler.h
index
caafd0f
..
5aeef86
100644
(file)
--- 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)