Alloy now builds on clang.
Hopefully not just bouncing back to MSVC failures…
This commit is contained in:
@@ -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_
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user