diff options
-rw-r--r-- | src/corelib/global/qglobal.cpp | 2 |
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 |