Fix thread_local.hpp to compile with GCC

This commit is contained in:
Scott Kyle 2016-06-16 17:32:11 -07:00
parent 13ab8f8111
commit 55aa3d0702
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
#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