summaryrefslogtreecommitdiff
path: root/include/llvm/System/Atomic.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-05-20 00:31:29 +0000
committerOwen Anderson <resistor@mac.com>2009-05-20 00:31:29 +0000
commit81e4e9f7cb8bff4f164c415c062a216774445c47 (patch)
tree3bba206dc54459fd45c076dba48785b4697a7a0e /include/llvm/System/Atomic.h
parent197ca8e939bb4fa3b436685a58957a11e2adb8ff (diff)
downloadllvm-81e4e9f7cb8bff4f164c415c062a216774445c47.tar.gz
llvm-81e4e9f7cb8bff4f164c415c062a216774445c47.tar.bz2
llvm-81e4e9f7cb8bff4f164c415c062a216774445c47.tar.xz
We need to include config.h here so that the #defines are set properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/System/Atomic.h')
-rw-r--r--include/llvm/System/Atomic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/System/Atomic.h b/include/llvm/System/Atomic.h
index 38388a4b28..946ae740e7 100644
--- a/include/llvm/System/Atomic.h
+++ b/include/llvm/System/Atomic.h
@@ -14,6 +14,8 @@
#ifndef LLVM_SYSTEM_ATOMIC_H
#define LLVM_SYSTEM_ATOMIC_H
+#include "llvm/Config/config.h"
+
#if defined(_MSC_VER)
#include <windows.h>
#endif