summaryrefslogtreecommitdiff
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
commitfc1ed154de9c58ad2d6ab2a6a9866c4bc50fb21a (patch)
tree6306c75af6175147efeb012500f8bd1fd0316172
parent7e84e7db9a466eb5fc06141a4faa468dad905d6d (diff)
downloadqpid-python-fc1ed154de9c58ad2d6ab2a6a9866c4bc50fb21a.tar.gz
Define the QPID_TSS macro for the Sun Studio Compilers
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750483 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/src/qpid/sys/Thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/Thread.h b/cpp/src/qpid/sys/Thread.h
index e2b904aa1a..1531f9619c 100644
--- a/cpp/src/qpid/sys/Thread.h
+++ b/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