diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-24 11:29:46 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-27 12:02:58 +0200 |
commit | 5cfe1ec2ad52e180ef98952849596386c84c4cf6 (patch) | |
tree | 5f2c4f16687147e48ac7f62023f4b1a90006baa9 /platform | |
parent | e0b23f941efd7412640cebe71a82a7df170388b2 (diff) | |
download | mupdf-5cfe1ec2ad52e180ef98952849596386c84c4cf6.tar.xz |
Use FZ_PATH_MAX.
PATH_MAX is Linux specific.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/x11/win_main.c | 4 |
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 |