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
This commit is contained in:
parent
0bb48173c9
commit
8d363ed1bc
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue