[llvm] r211288 - Fix build on non-Windows platforms.
Zachary Turner
zturner at google.com
Thu Jun 19 11:25:06 PDT 2014
Author: zturner
Date: Thu Jun 19 13:25:06 2014
New Revision: 211288
URL: http://llvm.org/viewvc/llvm-project?rev=211288&view=rev
Log:
Fix build on non-Windows platforms.
Modified:
llvm/trunk/include/llvm/Support/Mutex.h
Modified: llvm/trunk/include/llvm/Support/Mutex.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Mutex.h?rev=211288&r1=211287&r2=211288&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Mutex.h (original)
+++ llvm/trunk/include/llvm/Support/Mutex.h Thu Jun 19 13:25:06 2014
@@ -15,11 +15,13 @@
#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.
More information about the llvm-commits
mailing list