mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-07 22:28:04 +02:00
Use Sleep() instead of sleep() on windows
(was already done in Xwindows.h, just not Xw32defs.h)
This commit is contained in:
parent
a893a6ac5d
commit
8642ec676d
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ typedef char *caddr_t;
|
|||
#define putenv _putenv
|
||||
#define read _read
|
||||
#define rmdir _rmdir
|
||||
#define sleep(x) _sleep((x) * 1000)
|
||||
#define sleep(x) Sleep((x) * 1000)
|
||||
#define stat _stat
|
||||
#define sys_errlist _sys_errlist
|
||||
#define sys_nerr _sys_nerr
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ The Open Group.
|
|||
#define RT_CURSOR ((RESTYPE)5)
|
||||
#endif
|
||||
|
||||
#define sleep(x) Sleep(1000*x)
|
||||
#define sleep(x) Sleep((x) * 1000)
|
||||
|
||||
#if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024)
|
||||
#undef PATH_MAX
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue