diff options
author | Shih-wei Liao <sliao@google.com> | 2012-05-11 01:29:34 -0700 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2012-05-11 01:29:34 -0700 |
commit | f5f5cf7b3c61a71e6c11228f5089da294275e9da (patch) | |
tree | 73f57ccdae4c41ee17bc83c652284450c7afeb42 /host/include | |
parent | bc9f907b1682ea298242168028c7d93974be4fee (diff) | |
download | external_llvm-f5f5cf7b3c61a71e6c11228f5089da294275e9da.zip external_llvm-f5f5cf7b3c61a71e6c11228f5089da294275e9da.tar.gz external_llvm-f5f5cf7b3c61a71e6c11228f5089da294275e9da.tar.bz2 |
Set LLVM_HAS_ATOMICS to 0 for _WIN32 and _Win64.
Change-Id: I137160488239abcdf7a1af2c904c8f0e2d985b82
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/llvm/Config/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/host/include/llvm/Config/config.h b/host/include/llvm/Config/config.h index 0447303..9477801 100644 --- a/host/include/llvm/Config/config.h +++ b/host/include/llvm/Config/config.h @@ -580,6 +580,10 @@ /* Has gcc/MSVC atomic intrinsics */ #define LLVM_HAS_ATOMICS 1 +#else + +#define LLVM_HAS_ATOMICS 0 + #endif /* !defined(_WIN32) && !defined(_WIN64) */ /* Installation directory for include files */ |