|
|
@@ -36,11 +36,14 @@
|
|
|
#if defined _WEBSOCKETPP_CPP11_INTERNAL_ && !defined _WEBSOCKETPP_NO_CPP11_THREAD_
|
|
|
// MinGW by default does not support C++11 thread/mutex so even if the
|
|
|
// internal check for C++11 passes, ignore it if we are on MinGW
|
|
|
- #if (!defined(__MINGW32__) && !defined(__MINGW64__))
|
|
|
+// ATOMIC BEGIN
|
|
|
+// Reasonably new MingW supports these features.
|
|
|
+// #if (!defined(__MINGW32__) && !defined(__MINGW64__))
|
|
|
#ifndef _WEBSOCKETPP_CPP11_THREAD_
|
|
|
#define _WEBSOCKETPP_CPP11_THREAD_
|
|
|
#endif
|
|
|
- #endif
|
|
|
+// #endif
|
|
|
+// ATOMIC END
|
|
|
#endif
|
|
|
|
|
|
#ifdef _WEBSOCKETPP_CPP11_THREAD_
|