Added Posix names
This commit is contained in:
parent
c833d93d2d
commit
3883860106
1 changed files with 12 additions and 0 deletions
|
@ -70,6 +70,18 @@ typedef char BOOL;
|
||||||
#define S_ISDIR(m) (m & S_IFDIR) /* is a directory */
|
#define S_ISDIR(m) (m & S_IFDIR) /* is a directory */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Use Posix names if old-fashioned names are not defined. */
|
||||||
|
|
||||||
|
#ifndef S_IREAD
|
||||||
|
#define S_IREAD S_IRUSR
|
||||||
|
#endif
|
||||||
|
#ifndef S_IWRITE
|
||||||
|
#define S_IWRITE S_IWUSR
|
||||||
|
#endif
|
||||||
|
#ifndef S_IEXEC
|
||||||
|
#define S_IEXEC S_IXUSR
|
||||||
|
#endif
|
||||||
|
|
||||||
BOOL verbose;
|
BOOL verbose;
|
||||||
BOOL app_fl;
|
BOOL app_fl;
|
||||||
BOOL ex_fl;
|
BOOL ex_fl;
|
||||||
|
|
Loading…
Reference in a new issue