summaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2012-05-11 01:29:34 -0700
committerShih-wei Liao <sliao@google.com>2012-05-11 01:29:34 -0700
commitf5f5cf7b3c61a71e6c11228f5089da294275e9da (patch)
tree73f57ccdae4c41ee17bc83c652284450c7afeb42 /host/include
parentbc9f907b1682ea298242168028c7d93974be4fee (diff)
downloadexternal_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.h4
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 */