Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit ab19aae

Browse files
author
Zachary Turner
committed
Fix build on non-Windows platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211288 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent a4d0ff9 commit ab19aae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/llvm/Support/Mutex.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515
#define LLVM_SUPPORT_MUTEX_H
1616

1717
#include "llvm/Support/Compiler.h"
18-
#include "llvm/Support/Threading.h"
1918
#include <cassert>
2019

2120
namespace llvm
2221
{
22+
// Forward declare this function.
23+
bool llvm_is_multithreaded();
24+
2325
namespace sys
2426
{
2527
/// @brief Platform agnostic Mutex class.

0 commit comments

Comments
 (0)