diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-28 10:38:19 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-05-04 15:38:00 +0200 |
commit | d3baef213f5fba0c6869a6599c16c88e9c47925a (patch) | |
tree | fa7ef38c1563c86e5af7aca595a32247a498bb9f /platform/x11 | |
parent | b18c1ec68392979fd12483a5d68acca4e1c42221 (diff) | |
download | mupdf-d3baef213f5fba0c6869a6599c16c88e9c47925a.tar.xz |
Drop FZ_PATH_MAX macro.
Define PATH_MAX in the few files that use it, should it be missing.
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/pdfapp.c | 3 | ||||
-rw-r--r-- | platform/x11/win_main.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c index e3485489..f1f28905 100644 --- a/platform/x11/pdfapp.c +++ b/platform/x11/pdfapp.c @@ -7,8 +7,9 @@ #include <stdio.h> #define BEYOND_THRESHHOLD 40 + #ifndef PATH_MAX -#define PATH_MAX (1024) +#define PATH_MAX 4096 #endif #ifndef MAX diff --git a/platform/x11/win_main.c b/platform/x11/win_main.c index c079884c..ae1c4255 100644 --- a/platform/x11/win_main.c +++ b/platform/x11/win_main.c @@ -17,7 +17,7 @@ #endif #ifndef PATH_MAX -#define PATH_MAX (1024) +#define PATH_MAX 4096 #endif #define MIN(x,y) ((x) < (y) ? (x) : (y)) |