From 8d363ed1bc58c1ef64d15848094fd1c2b860d7e3 Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Fri, 20 Nov 2009 06:35:29 +0000 Subject: [PATCH] Added warning to suggest running ThreadLocal test project. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1056 7ec92016-0320-0410-acc4-a06ded1c099a --- include/loki/ThreadLocal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/loki/ThreadLocal.h b/include/loki/ThreadLocal.h index 9894feb..5397a54 100644 --- a/include/loki/ThreadLocal.h +++ b/include/loki/ThreadLocal.h @@ -20,7 +20,7 @@ // First assume the compiler does allow thread-local storage by #defining the // macro which allows compiler to see the code inside this file. -// Then #undefine the macro for compilers which are known for not supporting +// Then #undef the macro for compilers which are known for not supporting // thread-local storage. #define LOKI_THINKS_COMPILER_ALLOWS_THREAD_LOCAL_STORAGE 1 @@ -59,6 +59,7 @@ #else #warning "Check if your compiler provides thread local storage." + #warning "Run ThreadLocal test project to see if the compiler implements thread_local correctly." #define LOKI_THREAD_LOCAL thread_local #endif