summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xwindows.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xwindows.h b/Xwindows.h
index 149580e..6318155 100644
--- a/Xwindows.h
+++ b/Xwindows.h
@@ -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