We need to include config.h to get the proper setting to LLVM_MULTITHREADED.
authorOwen Anderson <resistor@mac.com>
Mon, 6 Jul 2009 18:50:47 +0000 (18:50 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 6 Jul 2009 18:50:47 +0000 (18:50 +0000)
Patch by Xerxes Ranby.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74846 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Threading.cpp

index c6a8214eb59edf15c5ffeee1f68c06f3d97bcca7..bc41afee66bafca2c8a261dcd41d0bb3feba7fe3 100644 (file)
@@ -11,6 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "llvm/Config/config.h"
 #include "llvm/System/Threading.h"
 #include "llvm/System/Atomic.h"
 #include "llvm/System/Mutex.h"