mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211311 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4110a7ac7a
commit
e0d89ff764
@ -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…
x
Reference in New Issue
Block a user