Commit afffac46 authored by Andrew Innes's avatar Andrew Innes

(WIN32): Remove unnecessary definition.

(sleep): Make argument unsigned long.
(_WINSOCK_H): Undefine so normal winsock definitions can be used.
parent c09c2c99
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment