Commit 6732df62 authored by twanvl's avatar twanvl

The __thread keyword is a gcc thing, not a linux thing

parent 924283da
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#ifdef _MSC_VER #ifdef _MSC_VER
# define THREAD_LOCAL __declspec(thread) # define THREAD_LOCAL __declspec(thread)
# define HAVE_TLS 1 # define HAVE_TLS 1
#elif defined __linux #elif defined __GNUC__
# define THREAD_LOCAL __thread # define THREAD_LOCAL __thread
# define HAVE_TLS 1 # define HAVE_TLS 1
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment