summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/include/llvm/Config/llvm-config.h8
1 files changed, 8 insertions, 0 deletions
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"