forked from OSchip/llvm-project
Fix include of config.h that was incorrectly changed in r331184
The RWMutex implementation depends on config.h macros (specifically HAVE_PTHREAD_H and HAVE_PTHREAD_RWLOCK_INIT), so we need to be including it and not just llvm-config.h here or we fall back to a much slower implementation. llvm-svn: 331487
This commit is contained in:
parent
e7b6654711
commit
33e0ae0d8f
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "llvm/Support/Allocator.h"
|
||||
#include "llvm/Support/RWMutex.h"
|
||||
#include "llvm/Config/llvm-config.h"
|
||||
#include "llvm/Config/config.h"
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//=== WARNING: Implementation here must contain only TRULY operating system
|
||||
|
|
Loading…
Reference in New Issue