mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Convert from #warning to #pragma message for notification of thread safety being disabled, so support more compilers portably
This commit is contained in:
parent
3a4421a57c
commit
d8213a4206
@ -4,7 +4,7 @@
|
||||
#ifndef CHAISCRIPT_NO_THREADS
|
||||
#include <boost/thread.hpp>
|
||||
#else
|
||||
#warning "ChaiScript is compiling without thread safety."
|
||||
#pragma message ("ChaiScript is compiling without thread safety.")
|
||||
#endif
|
||||
|
||||
namespace chaiscript
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user