summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-04-24 11:29:46 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-04-27 12:02:58 +0200
commit5cfe1ec2ad52e180ef98952849596386c84c4cf6 (patch)
tree5f2c4f16687147e48ac7f62023f4b1a90006baa9 /platform/x11
parente0b23f941efd7412640cebe71a82a7df170388b2 (diff)
downloadmupdf-5cfe1ec2ad52e180ef98952849596386c84c4cf6.tar.xz
Use FZ_PATH_MAX.
PATH_MAX is Linux specific.
Diffstat (limited to 'platform/x11')
-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