commit | ff0b10e90ad08ffaf9116b7e12ab12e163b13ca5 | [log] [tgz] |
---|---|---|
author | MITSUNARI Shigeo <herumi@nifty.com> | Wed Aug 19 10:26:36 2020 +0900 |
committer | GitHub <noreply@github.com> | Wed Aug 19 10:26:36 2020 +0900 |
tree | 21eb85f0156aec7f93dd1a151e145e8d6542683c | |
parent | c1aea35eb76058240fb4aee27a852193fe4e2b48 [diff] | |
parent | 0c4eafc3f68119ee020043190e97300c72ebae9b [diff] |
Merge pull request #101 from densamoilov/use-thread_local-when-supported Use thread_local for XBYAK_TLS when supported
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 41894d0..6896264 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h
@@ -109,6 +109,8 @@ #endif #if (__cplusplus >= 201103) || (_MSC_VER >= 1800) + #undef XBYAK_TLS + #define XBYAK_TLS thread_local #define XBYAK_VARIADIC_TEMPLATE #endif