Workaround arm64/clang crashes by avoiding TLS.

We only use it in these two places, it should be okay for now.  Still not
working on r13 on a SHIELD TV.
This commit is contained in:
Unknown W. Brackets committed 2016-10-08 12:08:19 -07:00
1 parent 55c9838132
commit a8e108e233
2 files changed
+6 -1

No files matched your search

+4
View File
@@ -23,6 +23,10 @@
#if defined(__APPLE__) || defined(__SYMBIAN32__)
#define __thread
#endif
// Experiencing emutls crashes on ARM64 Android, so disabling for now.
#if defined(ANDROID) && !defined(ARM64)
#define __thread
#endif
#ifdef _WIN32
#include "CommonWindows.h"
+2 -1
View File
@@ -1,7 +1,8 @@
#ifdef _WIN32
#include <windows.h>
#define TLS_SUPPORTED
#elif defined(ANDROID)
// Experiencing emutls crashes on ARM64 Android, so disabling for now.
#elif defined(ANDROID) && !defined(ARM64)
#define TLS_SUPPORTED
#endif