changeset 31082:9865d23be9e7

(WIN32): Remove unnecessary definition. (sleep): Make argument unsigned long. (_WINSOCK_H): Undefine so normal winsock definitions can be used.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 21:24:06 +0000
parents 1fd32e8a2fad
children f64a9a44e2a3
files lib-src/ntlib.h
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ntlib.h	Tue Aug 22 21:22:20 2000 +0000
+++ b/lib-src/ntlib.h	Tue Aug 22 21:24:06 2000 +0000
@@ -20,8 +20,6 @@
 
 */
 
-#define WIN32
-
 #include <pwd.h>
 #include <malloc.h>
 
@@ -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 @@
 
 /* Make standard winsock definitions available if needed.  */
 #undef _WINSOCKAPI_
+#undef _WINSOCK_H
 
 /* end of ntlib.h */