mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
(WIN32): Remove unnecessary definition.
(sleep): Make argument unsigned long. (_WINSOCK_H): Undefine so normal winsock definitions can be used.
This commit is contained in:
parent
c09c2c9995
commit
afffac4667
1 changed files with 2 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue