aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ntlib.h
diff options
context:
space:
mode:
authorAndrew Innes2000-08-22 21:24:06 +0000
committerAndrew Innes2000-08-22 21:24:06 +0000
commitafffac466708d12a0a27e4d73d2cedd799e9a058 (patch)
tree0f3f4e693716f78a80384d20973813b463e88e25 /lib-src/ntlib.h
parentc09c2c99950c90260b18d2024eb80ba4ebf5a912 (diff)
downloademacs-afffac466708d12a0a27e4d73d2cedd799e9a058.tar.gz
emacs-afffac466708d12a0a27e4d73d2cedd799e9a058.zip
(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 @@
20 20
21*/ 21*/
22 22
23#define WIN32
24
25#include <pwd.h> 23#include <pwd.h>
26#include <malloc.h> 24#include <malloc.h>
27 25
@@ -34,7 +32,7 @@
34#ifdef sleep 32#ifdef sleep
35#undef sleep 33#undef sleep
36#endif 34#endif
37void sleep(int seconds); 35void sleep(unsigned long seconds);
38char *getwd (char *dir); 36char *getwd (char *dir);
39int getppid(void); 37int getppid(void);
40char * getlogin (); 38char * getlogin ();
@@ -113,5 +111,6 @@ int fchown (int fd, int uid, int gid);
113 111
114/* Make standard winsock definitions available if needed. */ 112/* Make standard winsock definitions available if needed. */
115#undef _WINSOCKAPI_ 113#undef _WINSOCKAPI_
114#undef _WINSOCK_H
116 115
117/* end of ntlib.h */ 116/* end of ntlib.h */