projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow AsyncSignalHandler to attach and detach from an EventBase
[folly.git]
/
folly
/
portability
/
SysStat.h
diff --git
a/folly/portability/SysStat.h
b/folly/portability/SysStat.h
old mode 100755
(executable)
new mode 100644
(file)
index
0901f9a
..
3957108
--- a/
folly/portability/SysStat.h
+++ b/
folly/portability/SysStat.h
@@
-35,6
+35,8
@@
#define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR)
#define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP)
+#define S_ISDIR(mode) (((mode) & (_S_IFDIR)) == (_S_IFDIR) ? 1 : 0)
+
// This isn't defined anywhere, so give a sane value.
#define MAXSYMLINKS 255