Revert previous change.
[bpt/emacs.git] / lib-src / ntlib.h
index 385db6d..e6bce58 100644 (file)
@@ -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 ();
@@ -51,7 +49,7 @@ int fchown (int fd, int uid, int gid);
 #define bcmp(a, b, l) memcmp(a, b, l)
 #endif
 
-/* redirect or undo interceptions by config.h */
+/* redirect or undo interceptions created by config.h */
 #undef access
 #define access  _access
 #undef chdir
@@ -111,4 +109,8 @@ int fchown (int fd, int uid, int gid);
 #define index     strchr
 #define rindex    strrchr
 
+/* Make standard winsock definitions available if needed.  */
+#undef _WINSOCKAPI_
+#undef _WINSOCK_H
+
 /* end of ntlib.h */