mirror of
https://github.com/gperftools/gperftools
synced 2025-02-04 13:41:37 +00:00
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:
parent
60b12171bc
commit
e98371540d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user