From ab19aae90fc10bab660ceb3d426f31a3cb66d99e Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 19 Jun 2014 18:25:06 +0000 Subject: [PATCH] Fix build on non-Windows platforms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211288 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Mutex.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/llvm/Support/Mutex.h b/include/llvm/Support/Mutex.h index 496a4381f3f..f340051361b 100644 --- a/include/llvm/Support/Mutex.h +++ b/include/llvm/Support/Mutex.h @@ -15,11 +15,13 @@ #define LLVM_SUPPORT_MUTEX_H #include "llvm/Support/Compiler.h" -#include "llvm/Support/Threading.h" #include namespace llvm { + // Forward declare this function. + bool llvm_is_multithreaded(); + namespace sys { /// @brief Platform agnostic Mutex class.