Fix build on non-Windows platforms.
authorZachary Turner <zturner@google.com>
Thu, 19 Jun 2014 18:25:06 +0000 (18:25 +0000)
committerZachary Turner <zturner@google.com>
Thu, 19 Jun 2014 18:25:06 +0000 (18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211288 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Mutex.h

index 496a4381f3fc76d3c454404970068669c05cef74..f340051361b0fbee7d1f01a3e12a488b3f50bb8e 100644 (file)
 #define LLVM_SUPPORT_MUTEX_H
 
 #include "llvm/Support/Compiler.h"
-#include "llvm/Support/Threading.h"
 #include <cassert>
 
 namespace llvm
 {
+  // Forward declare this function.
+  bool llvm_is_multithreaded();
+
   namespace sys
   {
     /// @brief Platform agnostic Mutex class.