From afffac466708d12a0a27e4d73d2cedd799e9a058 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 22 Aug 2000 21:24:06 +0000 Subject: [PATCH] (WIN32): Remove unnecessary definition. (sleep): Make argument unsigned long. (_WINSOCK_H): Undefine so normal winsock definitions can be used. --- lib-src/ntlib.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h index 2a7ccbb79b7..e6bce58074e 100644 --- a/lib-src/ntlib.h +++ b/lib-src/ntlib.h @@ -20,8 +20,6 @@ */ -#define WIN32 - #include #include @@ -34,7 +32,7 @@ #ifdef sleep #undef sleep #endif -void sleep(int seconds); +void sleep(unsigned long seconds); char *getwd (char *dir); int getppid(void); char * getlogin (); @@ -113,5 +111,6 @@ int fchown (int fd, int uid, int gid); /* Make standard winsock definitions available if needed. */ #undef _WINSOCKAPI_ +#undef _WINSOCK_H /* end of ntlib.h */ -- 2.39.2