10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40b1549 commit 21c3853Copy full SHA for 21c3853
include/chaiscript/chaiscript_defines.hpp
@@ -29,8 +29,9 @@
29
#define CHAISCRIPT_WINDOWS
30
#endif
31
32
-#if (defined(__GNUC__) && __GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) || (defined(__llvm__) && !defined(CHAISCRIPT_LIBCPP))
+#if ( ( (defined(__GNUC__) && __GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) ) && !defined(WIN32)) || (defined(__llvm__) && !defined(CHAISCRIPT_LIBCPP))
33
/// Currently only g++>=4.8 supports this natively
34
+/// MinGW pretends to, but causes a crash on exit when thread_local objects are destructed
35
/// \todo Make this support other compilers when possible
36
#define CHAISCRIPT_HAS_THREAD_LOCAL
37
0 commit comments