summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>2010-10-30 15:51:30 +0300
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>2010-11-02 01:36:37 +0200
commit56748ea9a698daec8f445d2bebbbaed5515380af (patch)
treeac286a65722d178665de4c829c4b5a1f94ea0994 /configure.ac
parentecc3612995d5d699a3dd49016a7e9ed40f0a4564 (diff)
Fixed broken configure check for __thread support
Somehow the patch from [1] was not applied correctly, fixing that. 1. http://lists.cairographics.org/archives/cairo/2010-September/020826.html
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index b80cc5f..8193898 100644
--- a/configure.ac
+++ b/configure.ac
@@ -652,10 +652,9 @@ support_for__thread=no
AC_MSG_CHECKING(for __thread)
AC_LINK_IFELSE([
-#ifdef defined __MINGW32__ && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
+#if defined(__MINGW32__) && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
#error This MinGW version has broken __thread support
#endif
-#endif
#ifdef __OpenBSD__
#error OpenBSD has broken __thread support
#endif