diff options
author | Mikhail Svetkin <mikhail.svetkin@qt.io> | 2019-06-06 10:16:09 +0200 |
---|---|---|
committer | Mikhail Svetkin <mikhail.svetkin@qt.io> | 2019-06-06 10:16:09 +0200 |
commit | efe1073e440fd7a179da8d19abc43fb9a745ac2f (patch) | |
tree | a8e4c67ce8a3739053a3ffa233c5797a2b2ee737 /src/corelib/thread | |
parent | 6f03867d0288d7a180c2ed775df1f9f922561848 (diff) |
rtems: Enable Thread local storage support
Change-Id: If2ecf440fda9270688be60273e57d4b765bbdec2
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r-- | src/corelib/thread/qthread_unix.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp index 3d4c906dc2..2bcc31e423 100644 --- a/src/corelib/thread/qthread_unix.cpp +++ b/src/corelib/thread/qthread_unix.cpp @@ -119,6 +119,9 @@ enum { ThreadPriorityResetFlag = 0x80000000 }; #if defined(Q_CC_XLC) || defined (Q_CC_SUN) #define HAVE_TLS #endif +#if defined(Q_OS_RTEMS) +#define HAVE_TLS +#endif #ifdef HAVE_TLS static __thread QThreadData *currentThreadData = 0; |