Fix clang warnings / move some plat code into poly.

This commit is contained in:
Ben Vanik
2014-07-10 22:51:27 -07:00
parent 7daa85179c
commit 9031d5f4a4
41 changed files with 347 additions and 218 deletions

View File

@@ -14,7 +14,7 @@
namespace alloy {
namespace runtime {
__declspec(thread) ThreadState* thread_state_ = NULL;
thread_local ThreadState* thread_state_ = NULL;
ThreadState::ThreadState(Runtime* runtime, uint32_t thread_id)
: runtime_(runtime),