diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2009-06-17 15:28:54 +0100 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2009-06-17 15:46:05 +0100 |
commit | ef37625372546efb32cdb37823b9927cf16b0840 (patch) | |
tree | de543f4c2280ff6fc5b89178b0deadc9ba595531 /Xwindows.h | |
parent | e9df99b12ef9fefdbc1c05ff51bddffe723051e9 (diff) |
Restore macro definition of sleep(), needed by Xming
Removed in error by commit 1defe6b37c23941fe2a67ad4fa66e8ab5f37f9b3
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'Xwindows.h')
-rw-r--r-- | Xwindows.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -75,6 +75,10 @@ The Open Group. # define RT_CURSOR ((RESTYPE)5) #endif +#ifndef __CYGWIN__ +#define sleep(x) Sleep((x) * 1000) +#endif + #if defined(WIN32) && (!defined(PATH_MAX) || PATH_MAX < 1024) # undef PATH_MAX # define PATH_MAX 1024 |