From 6c89f572f229020c8727d56f10b8f9e33bbda6bc Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Fri, 3 May 1996 18:23:44 +0000 Subject: [PATCH] (F_OK, X_OK, W_OK, R_OK): New macros. --- nt/inc/sys/file.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nt/inc/sys/file.h b/nt/inc/sys/file.h index f84e2b34811..8536d0362f1 100644 --- a/nt/inc/sys/file.h +++ b/nt/inc/sys/file.h @@ -1,5 +1,8 @@ /* - * sys\file.h doesn't exist on NT...rather than including it conditionally - * in some of the source files, we just extend the include path so that the - * compiler will pick up this empty header instead. + * sys\file.h doesn't exist on NT - only needed for these constants */ + +#define F_OK 0 +#define X_OK 1 +#define W_OK 2 +#define R_OK 4 -- 2.39.2