summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.cpp
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-07-06 11:22:46 (GMT)
committeraxis <qt-info@nokia.com>2009-07-06 11:22:46 (GMT)
commitb1607cfaaca575b5a8ce416cb23a23b1fa6c4db1 (patch)
tree2e6373f79f436bf391c29fb9b7c4d9cef40bbdb4 /src/corelib/global/qglobal.cpp
parentf3869caa41d452ef607bcba168bf7bdeb8ac9a45 (diff)
downloadQt-b1607cfaaca575b5a8ce416cb23a23b1fa6c4db1.zip
Qt-b1607cfaaca575b5a8ce416cb23a23b1fa6c4db1.tar.gz
Qt-b1607cfaaca575b5a8ce416cb23a23b1fa6c4db1.tar.bz2
Removed unused static data in Symbian and others.
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r--src/corelib/global/qglobal.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index 208d4a2..7d35926 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -2470,7 +2470,9 @@ typedef uint SeedStorageType;
# endif
typedef QThreadStorage<SeedStorageType *> SeedStorage;
+#if defined(Q_OS_UNIX) && !defined(QT_NO_THREAD) && !defined(Q_OS_SYMBIAN)
Q_GLOBAL_STATIC(SeedStorage, randTLS) // Thread Local Storage for seed value
+#endif
#endif