diff options
author | Hans Wennborg <hans@hanshq.net> | 2016-06-09 15:54:43 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2016-06-09 15:54:43 +0000 |
commit | 5b89fbc822ab687016280afe7abf388ae2fa9e6e (patch) | |
tree | 93ad2fae75926580bdad1f15dc60a75da62bbd40 /lldb/unittests/ScriptInterpreter/Python/PythonExceptionStateTests.cpp | |
parent | d2454d66e38f9ab6c5212e0cf3520f12ed2b7145 (diff) | |
download | llvm-5b89fbc822ab687016280afe7abf388ae2fa9e6e.zip llvm-5b89fbc822ab687016280afe7abf388ae2fa9e6e.tar.gz llvm-5b89fbc822ab687016280afe7abf388ae2fa9e6e.tar.bz2 |
kmp_lock.h: Fix VS2013 build after r271324
MSVC doesn't allow std::atomic<>s in a union since they don't have trivial
copy constructor. Replacing them with e.g. std::atomic_int works, but that
breaks the GCC build on Linux, because then calls to e.g. std::atomic_load_explicit
fail, as they expect a real std::atomic<> pointer.
Fixing this with an #ifdef to unbreak the build for now.
llvm-svn: 272271
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonExceptionStateTests.cpp')
0 files changed, 0 insertions, 0 deletions