Code cleanup: removing config.h and cleaning up platform.h

This commit is contained in:
Ben Vanik
2015-05-02 01:41:39 -07:00
parent 30f7effa73
commit 4d15b2296e
21 changed files with 41 additions and 163 deletions

View File

@@ -12,7 +12,6 @@
#include <memory>
#include "poly/config.h"
// C++11 thread local storage.
// http://en.cppreference.com/w/cpp/language/storage_duration
@@ -20,7 +19,7 @@
// VC++2014 may have this.
#define _ALLOW_KEYWORD_MACROS 1
#define thread_local __declspec(thread)
#elif XE_LIKE_OSX
#elif XE_PLATFORM_MAC
// Clang supports it on OSX but the runtime doesn't.
#define thread_local __thread
#endif // XE_COMPILER_MSVC