Convert from #warning to #pragma message for notification of thread safety being disabled, so support more compilers portably
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#ifndef CHAISCRIPT_NO_THREADS
|
#ifndef CHAISCRIPT_NO_THREADS
|
||||||
#include <boost/thread.hpp>
|
#include <boost/thread.hpp>
|
||||||
#else
|
#else
|
||||||
#warning "ChaiScript is compiling without thread safety."
|
#pragma message ("ChaiScript is compiling without thread safety.")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace chaiscript
|
namespace chaiscript
|
||||||
|
Reference in New Issue
Block a user