projects
/
profile
/
ivi
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95d4026
)
Don't use __thread on MinGW.
author
Søren Sandmann Pedersen
<ssp@redhat.com>
Fri, 23 Apr 2010 16:34:19 +0000
(12:34 -0400)
committer
Søren Sandmann Pedersen
<ssp@redhat.com>
Mon, 3 May 2010 08:12:24 +0000
(11:12 +0300)
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
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
aabe721
..
c9d0c66
100644
(file)
--- 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)