Fix thread_local.hpp to compile with GCC
This commit is contained in:
parent
13ab8f8111
commit
55aa3d0702
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include <realm/util/features.h>
|
#include <realm/util/features.h>
|
||||||
|
|
||||||
#if __has_feature(tls) || __has_feature(cxx_thread_local)
|
#if !defined(__clang__) || REALM_HAVE_CLANG_FEATURE(tls) || REALM_HAVE_CLANG_FEATURE(cxx_thread_local)
|
||||||
|
|
||||||
#define REALM_THREAD_LOCAL_TYPE(type) REALM_THREAD_LOCAL type
|
#define REALM_THREAD_LOCAL_TYPE(type) REALM_THREAD_LOCAL type
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue