summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorManuel Teira Paz <mteira@apache.org>2009-03-05 16:00:31 +0000
committerManuel Teira Paz <mteira@apache.org>2009-03-05 16:00:31 +0000
commit0c3b7597e8f23979d2daf37ea990620ca9ac8326 (patch)
tree4e90f6913f37724d5d514c8e2090ba11789bba39 /qpid/cpp
parent09f6b68ae9808971d7a5573dcb1b845f1df10e35 (diff)
downloadqpid-python-0c3b7597e8f23979d2daf37ea990620ca9ac8326.tar.gz
Define the QPID_TSS macro for the Sun Studio Compilers
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@750483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/sys/Thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/sys/Thread.h b/qpid/cpp/src/qpid/sys/Thread.h
index e2b904aa1a..1531f9619c 100644
--- a/qpid/cpp/src/qpid/sys/Thread.h
+++ b/qpid/cpp/src/qpid/sys/Thread.h
@@ -27,6 +27,8 @@
# define QPID_TSS __declspec(thread)
#elif defined (__GNUC__)
# define QPID_TSS __thread
+#elif defined (__SUNPRO_CC)
+# define QPID_TSS __thread
#else
# error "Dont know how to define QPID_TSS for this platform"
#endif