From f5f5cf7b3c61a71e6c11228f5089da294275e9da Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Fri, 11 May 2012 01:29:34 -0700 Subject: Set LLVM_HAS_ATOMICS to 0 for _WIN32 and _Win64. Change-Id: I137160488239abcdf7a1af2c904c8f0e2d985b82 --- host/include/llvm/Config/config.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host') 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 */ -- cgit v1.1