Add 'thread_local' definition as it is not available in C mode for VxWorks
Task-number: QTBUG-115777 Change-Id: I42c54ac2a34817f3b0a9b687ee282b97123b78c9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
1909e1e14c
commit
44d274a29f
@ -14,6 +14,11 @@
|
||||
* everything works.
|
||||
*/
|
||||
|
||||
#if defined(Q_OS_VXWORKS) && !defined(thread_local)
|
||||
// threads.h forgot to define this (should be fixed for version 23.11)
|
||||
# define thread_local _Thread_local
|
||||
#endif
|
||||
|
||||
/* Types and Q_UNUSED */
|
||||
void tst_GlobalTypes()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user