diff options
| author | Andrew Innes | 2000-08-22 21:53:28 +0000 |
|---|---|---|
| committer | Andrew Innes | 2000-08-22 21:53:28 +0000 |
| commit | 9366e3b092fd5b73cba4026e34bce29c90fd7fec (patch) | |
| tree | 242a6a449fc657ace3bd064e82cc2eb37a257a7e | |
| parent | 8040b3ba6e6247092e0837c4e474967d18a635a7 (diff) | |
| download | emacs-9366e3b092fd5b73cba4026e34bce29c90fd7fec.tar.gz emacs-9366e3b092fd5b73cba4026e34bce29c90fd7fec.zip | |
(F_OK, X_OK, W_OK, R_OK, D_OK): Define if D_OK is
not defined.
| -rw-r--r-- | nt/inc/sys/file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nt/inc/sys/file.h b/nt/inc/sys/file.h index 584079feef2..6a3fcc13e89 100644 --- a/nt/inc/sys/file.h +++ b/nt/inc/sys/file.h | |||
| @@ -2,8 +2,10 @@ | |||
| 2 | * sys\file.h doesn't exist on NT - only needed for these constants | 2 | * sys\file.h doesn't exist on NT - only needed for these constants |
| 3 | */ | 3 | */ |
| 4 | 4 | ||
| 5 | #ifndef D_OK | ||
| 5 | #define F_OK 0 | 6 | #define F_OK 0 |
| 6 | #define X_OK 1 | 7 | #define X_OK 1 |
| 7 | #define W_OK 2 | 8 | #define W_OK 2 |
| 8 | #define R_OK 4 | 9 | #define R_OK 4 |
| 9 | #define D_OK 8 | 10 | #define D_OK 8 |
| 11 | #endif | ||