diff options
Diffstat (limited to 'src/include/port/win32.h')
-rw-r--r-- | src/include/port/win32.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h index d1e55725b9f..fb91e66468b 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.21 2004/04/12 16:19:18 momjian Exp $ */ +/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.22 2004/04/19 17:42:59 momjian Exp $ */ /* undefine and redefine after #include */ #undef mkdir @@ -6,6 +6,7 @@ #undef ERROR #include <windows.h> #include <winsock.h> +#include <process.h> #undef near /* Must be here to avoid conflicting with prototype in windows.h */ @@ -192,14 +193,6 @@ int setitimer(int which, const struct itimerval *value, struct itimerval *ovalue */ #define lstat slat -#define S_ISDIR(m) (((m) & _S_IFMT) == _S_IFDIR) -#define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) - -#define S_IRUSR _S_IREAD -#define S_IWUSR _S_IWRITE -#define S_IXUSR _S_IEXEC -#define S_IRWXU (_S_IREAD | _S_IWRITE | _S_IEXEC) - /* * Supplement to <errno.h>. */ |