summaryrefslogtreecommitdiff
path: root/lib-src/ntlib.h
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2000-08-22 21:24:06 +0000
committerAndrew Innes <andrewi@gnu.org>2000-08-22 21:24:06 +0000
commitafffac466708d12a0a27e4d73d2cedd799e9a058 (patch)
tree0f3f4e693716f78a80384d20973813b463e88e25 /lib-src/ntlib.h
parentc09c2c99950c90260b18d2024eb80ba4ebf5a912 (diff)
downloademacs-afffac466708d12a0a27e4d73d2cedd799e9a058.tar.gz
(WIN32): Remove unnecessary definition.
(sleep): Make argument unsigned long. (_WINSOCK_H): Undefine so normal winsock definitions can be used.
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 */