--- Coro-Multicore/xthread.h 2015/07/05 03:50:57 1.3 +++ Coro-Multicore/xthread.h 2015/07/05 04:13:52 1.4 @@ -168,7 +168,8 @@ #endif -#if __linux && __GNUC__ >= 4 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 9 +#if __linux && __GNUC__ >= 4 && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 3 && 0 +/* __thread has little to no advantage over pthread_* in most configurations, so this is not used */ # define X_TLS_DECLARE(varname) __thread void *varname # define X_TLS_INIT(varname) # define X_TLS_SET(varname,value) varname = (value)