From e2e355b869b9e4fa541bf6f4d7a0f492c1978269 Mon Sep 17 00:00:00 2001 From: Shih-wei Liao Date: Fri, 11 May 2012 11:33:11 -0700 Subject: Modify llvm-config.h to agree with config.h. Change-Id: I7d835f78e102f04348ec23a5fd59eff82576bcb2 --- host/include/llvm/Config/llvm-config.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'host') diff --git a/host/include/llvm/Config/llvm-config.h b/host/include/llvm/Config/llvm-config.h index ca49e77..964a00a 100644 --- a/host/include/llvm/Config/llvm-config.h +++ b/host/include/llvm/Config/llvm-config.h @@ -38,9 +38,17 @@ /* Installation directory for config files */ #define LLVM_ETCDIR "/opt/llvm-android/etc/llvm" +#if !defined(_WIN32) && !defined(_WIN64) + /* 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 */ #define LLVM_INCLUDEDIR "/opt/llvm-android/include" -- cgit v1.1