thread_local appears to be unavailable on ARMV7 iOS
This commit is contained in:
parent
2d7209fdb5
commit
abfc80a5e2
|
@ -72,9 +72,9 @@
|
|||
defined __BORLANDC__ )
|
||||
# define thread_local __declspec(thread)
|
||||
/* note that ICC (linux) and Clang are covered by __GNUC__ */
|
||||
# elif defined __GNUC__ || \
|
||||
# elif (defined __GNUC__ || \
|
||||
defined __SUNPRO_C || \
|
||||
defined __xlC__
|
||||
defined __xlC__) && !defined(__APPLE__)
|
||||
# define thread_local __thread
|
||||
# else
|
||||
# define UNSAFE
|
||||
|
|
Loading…
Reference in New Issue