diff --git a/include/os/osDef.h b/include/os/osDef.h index 75c6a0dc73..439f4b5c6a 100644 --- a/include/os/osDef.h +++ b/include/os/osDef.h @@ -188,9 +188,10 @@ void syslog(int unused, const char *format, ...); #define ALIGN8(n) ALIGN_NUM(n, 8) #undef threadlocal -#ifdef _ISOC11_SOURCE -#define threadlocal _Thread_local -#elif defined(__APPLE__) +//#ifdef _ISOC11_SOURCE +//#define threadlocal _Thread_local +//#elif defined(__APPLE__) +#if defined(__APPLE__) #define threadlocal __thread #elif defined(__GNUC__) && !defined(threadlocal) #define threadlocal __thread