forked from OSchip/llvm-project
Include Threading.h instead of forward declaring a function.
Previously this led to a circular header dependency, but a recent change has since removed this dependency, so the correct fix is to simply include the header rather than forward declare. llvm-svn: 211311
This commit is contained in:
parent
2960d47665
commit
5165b37c63
|
@ -15,13 +15,11 @@
|
|||
#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.
|
||||
|
|
Loading…
Reference in New Issue