From d8213a4206a74c4643cad16a240111e63916c5bc Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Tue, 19 Jan 2010 01:54:00 +0000 Subject: [PATCH] Convert from #warning to #pragma message for notification of thread safety being disabled, so support more compilers portably --- include/chaiscript/chaiscript_threading.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chaiscript/chaiscript_threading.hpp b/include/chaiscript/chaiscript_threading.hpp index d898b4ff..4044f65c 100644 --- a/include/chaiscript/chaiscript_threading.hpp +++ b/include/chaiscript/chaiscript_threading.hpp @@ -4,7 +4,7 @@ #ifndef CHAISCRIPT_NO_THREADS #include #else -#warning "ChaiScript is compiling without thread safety." +#pragma message ("ChaiScript is compiling without thread safety.") #endif namespace chaiscript