summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/x11/win_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/x11/win_main.c b/platform/x11/win_main.c
index ae2801dd..c079884c 100644
--- a/platform/x11/win_main.c
+++ b/platform/x11/win_main.c
@@ -16,6 +16,10 @@
#define WM_MOUSEWHEEL 0x020A
#endif
+#ifndef PATH_MAX
+#define PATH_MAX (1024)
+#endif
+
#define MIN(x,y) ((x) < (y) ? (x) : (y))
#define ID_ABOUT 0x1000