diff options
Diffstat (limited to 'Driver/CacheTokens.cpp')
-rw-r--r-- | Driver/CacheTokens.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Driver/CacheTokens.cpp b/Driver/CacheTokens.cpp index 02e9f6cff0..d2921f0152 100644 --- a/Driver/CacheTokens.cpp +++ b/Driver/CacheTokens.cpp @@ -26,6 +26,11 @@ #include "llvm/Support/Compiler.h" #include "llvm/Support/Streams.h" +// FIXME: put this somewhere else? +#ifndef S_ISDIR +#define S_ISDIR(x) (((x)&_S_IFDIR)!=0) +#endif + using namespace clang; typedef uint32_t Offset; |