summaryrefslogtreecommitdiff
path: root/lib-src/ntlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/ntlib.h')
-rw-r--r--lib-src/ntlib.h5
1 files 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 <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 @@ int fchown (int fd, int uid, int gid);
/* Make standard winsock definitions available if needed. */
#undef _WINSOCKAPI_
+#undef _WINSOCK_H
/* end of ntlib.h */