eliminated gcc warning on __thread configure snippet

gcc complained about lack of matching ' in code that force-fails
__thread detection on mingw
This commit is contained in:
Aliaksey Kandratsenka 2014-01-11 16:28:15 -08:00
parent 60b12171bc
commit e98371540d

View File

@ -308,7 +308,7 @@ AC_MSG_CHECKING([for __thread])
AC_LINK_IFELSE([AC_LANG_PROGRAM([#if defined(__GNUC__) && ((__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 1) || (__GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ < 2))
#error gcc has this bug: http://gcc.gnu.org/ml/gcc-bugs/2006-09/msg02275.html
#elif defined(__MINGW32__)
#error mingw doesn't really support tls
#error mingw doesnt really support tls
#elif defined(__APPLE__)
#error OSX __thread support is known to call malloc which makes it unsafe to use from malloc replacement
#endif