xoorath/xo-math

thread_local is undefined on VS2013

Daivuk opened this issue · 1 comments

#   define _XOTLS __thread
#elif (defined(_MSC_VER) && _MSC_VER <= 1800)
#   define _XOTLS __declspec(thread)
#else
#   define _XOTLS thread_local
#endif

Have to check for <= 1800

Closing as duplicate (same solution)
#4