From 9e93d61236b7ed7c9cfd95ac1aafab6dc08f7912 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Thu, 2 Jul 2015 21:18:36 -0600 Subject: [PATCH] Allow user to disable nothread warning --- include/chaiscript/chaiscript_threading.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/chaiscript/chaiscript_threading.hpp b/include/chaiscript/chaiscript_threading.hpp index 6bac83a..26ce7d8 100644 --- a/include/chaiscript/chaiscript_threading.hpp +++ b/include/chaiscript/chaiscript_threading.hpp @@ -14,8 +14,10 @@ #include #include #else +#ifndef CHAISCRIPT_NO_THREADS_WARNING #pragma message ("ChaiScript is compiling without thread safety.") #endif +#endif #include "chaiscript_defines.hpp"