summaryrefslogtreecommitdiff
path: root/Xwindows.h
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-01-09 15:06:04 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-01-09 15:06:04 +0000
commit1cae0cb4b1442b34d76ee5623fb2a17ed2353c50 (patch)
tree2b28cb9f8780f060c7d3f63501e8a802b0fefd89 /Xwindows.h
parent9df4ffce552a0f6eca47764a3f79b466629e8bab (diff)
Make sure PATH_MAX is at least 1024
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