Alloy now builds on clang.

Hopefully not just bouncing back to MSVC failures…
This commit is contained in:
Ben Vanik
2014-07-17 20:43:27 -07:00
parent 4cbd267a52
commit 19b6e90b63
7 changed files with 121 additions and 96 deletions

View File

@@ -23,6 +23,13 @@
#define thread_local __thread
#endif // XE_COMPILER_MSVC
// C++11 alignas keyword.
// This will hopefully be coming soon, as most of the alignment spec is in the
// latest CTP.
#if XE_COMPILER_MSVC
#define alignas(N) __declspec(align(N))
#endif // XE_COMPILER_MSVC
namespace poly {} // namespace poly
#endif // POLY_CXX_COMPAT_H_

View File

@@ -18,7 +18,7 @@
namespace poly {
namespace threading {
// Gets the current high-perforance tick count.
// Gets the current high-performance tick count.
uint64_t ticks();
// Gets a stable thread-specific ID, but may not be. Use for informative