summaryrefslogtreecommitdiff
path: root/Xwindows.h
diff options
context:
space:
mode:
Diffstat (limited to 'Xwindows.h')
-rw-r--r--Xwindows.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Xwindows.h b/Xwindows.h
index bd23dba..129c78e 100644
--- a/Xwindows.h
+++ b/Xwindows.h
@@ -68,6 +68,11 @@ The Open Group.
#define sleep(x) Sleep(1000*x)
+#if defined(WIN32) && PATH_MAX < 1024
+#undef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
#ifdef _XFree86Server
#define XFree86Server
#undef _XFree86Server