Convert from #warning to #pragma message for notification of thread safety being disabled, so support more compilers portably

This commit is contained in:
Jason Turner
2010-01-19 01:54:00 +00:00
parent 3a4421a57c
commit d8213a4206

View File

@@ -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