projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Be a bit more efficient when processing the active and inactive
[oota-llvm.git]
/
include
/
Config
/
sys
/
stat.h
diff --git
a/include/Config/sys/stat.h
b/include/Config/sys/stat.h
index 9c10260c14c1460ccaa41ed67894ba91aa40c430..9669bcf927b4a2e52256b0b9bda8523a053c4222 100644
(file)
--- a/
include/Config/sys/stat.h
+++ b/
include/Config/sys/stat.h
@@
-21,5
+21,9
@@
#include <sys/stat.h>
#endif
+#if defined(_MSC_VER)
+#define S_ISREG(X) ((X) & _S_IFREG)
+#endif
+
#endif