Fix build on non-Windows platforms.

llvm-svn: 211288
This commit is contained in:
Zachary Turner 2014-06-19 18:25:06 +00:00
parent 9c9710eaf4
commit 21fdc93272
1 changed files with 3 additions and 1 deletions

View File

@ -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.