MinGW std:🧵 suppress redundancy warning for non-debug builds

See: #216
This commit is contained in:
Jonathan G Rennison
2021-02-16 14:22:25 +00:00
parent 73be35340d
commit 84eef99eaa
4 changed files with 4 additions and 4 deletions

View File

@@ -461,7 +461,7 @@ using mingw_stdthread::recursive_timed_mutex;
using mingw_stdthread::timed_mutex;
using mingw_stdthread::once_flag;
using mingw_stdthread::call_once;
#elif !defined(MINGW_STDTHREAD_REDUNDANCY_WARNING) // Skip repetition
#elif !defined(MINGW_STDTHREAD_REDUNDANCY_WARNING) && defined(_DEBUG) // Skip repetition
#define MINGW_STDTHREAD_REDUNDANCY_WARNING
#pragma message "This version of MinGW seems to include a win32 port of\
pthreads, and probably already has C++11 std threading classes implemented,\