diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2010-04-23 12:34:19 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2010-05-03 11:12:24 +0300 |
commit | 582fa58bba7008c2b852ba56557612866f7522d5 (patch) | |
tree | ef9cc2595cc1539817d9b03eb762848c807ad09a | |
parent | 95d4026866b4655c88de75c9756e9f18881b7c29 (diff) |
Don't use __thread on MinGW.
It is apparently broken. See this:
http://mingw-users.1079350.n2.nabble.com/gcc-4-4-multi-threaded-exception-handling-thread-specifier-not-working-td3440749.html
We'll need to support thread local storage on MinGW32 some other way.
Cc: tml@iki.fi
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index aabe721..c9d0c66 100644 --- a/configure.ac +++ b/configure.ac @@ -524,6 +524,9 @@ support_for__thread=no AC_MSG_CHECKING(for __thread) AC_COMPILE_IFELSE([ +#ifdef __MINGW32__ +#error MinGW has broken __thread support +#endif __thread int x ; int main () { return 0; } ], support_for__thread=yes) |