summaryrefslogtreecommitdiff
path: root/lib/System/Threading.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-06 18:50:47 +0000
committerOwen Anderson <resistor@mac.com>2009-07-06 18:50:47 +0000
commit3d7622d0f5849fe2c1113c5751d4cfbc169d810f (patch)
treeec27d68eef3573fe9acd8ac86045c790d4859f51 /lib/System/Threading.cpp
parent508955156a25a9abc470a29e1760aa176d341cf9 (diff)
downloadllvm-3d7622d0f5849fe2c1113c5751d4cfbc169d810f.tar.gz
llvm-3d7622d0f5849fe2c1113c5751d4cfbc169d810f.tar.bz2
llvm-3d7622d0f5849fe2c1113c5751d4cfbc169d810f.tar.xz
We need to include config.h to get the proper setting to LLVM_MULTITHREADED.
Patch by Xerxes Ranby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74846 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Threading.cpp')
-rw-r--r--lib/System/Threading.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Threading.cpp b/lib/System/Threading.cpp
index c6a8214eb5..bc41afee66 100644
--- a/lib/System/Threading.cpp
+++ b/lib/System/Threading.cpp
@@ -11,6 +11,7 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/Config/config.h"
#include "llvm/System/Threading.h"
#include "llvm/System/Atomic.h"
#include "llvm/System/Mutex.h"