forked from OSchip/llvm-project
replicate a terrible hack to fix a build error on VC++
llvm-svn: 120039
This commit is contained in:
parent
8f0583daa2
commit
ea61b32c4a
|
@ -15,6 +15,10 @@
|
|||
#include "llvm/System/Path.h"
|
||||
using namespace clang;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define S_ISDIR(s) (_S_IFDIR & s)
|
||||
#endif
|
||||
|
||||
MemorizeStatCalls::LookupResult
|
||||
MemorizeStatCalls::getStat(const char *Path, struct stat &StatBuf) {
|
||||
LookupResult Result = statChained(Path, StatBuf);
|
||||
|
|
Loading…
Reference in New Issue