From c9bad4ef3e32bc799b134bc3b258f9392cf60e3e Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 16 Jun 2016 18:17:29 +0100 Subject: Fix MSVC build; PATH_MAX not defined. --- source/fitz/output-png.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/fitz/output-png.c') diff --git a/source/fitz/output-png.c b/source/fitz/output-png.c index 2f19611c..74f2ca3f 100644 --- a/source/fitz/output-png.c +++ b/source/fitz/output-png.c @@ -2,6 +2,10 @@ #include +#ifndef PATH_MAX +#define PATH_MAX (1024) +#endif + static inline void big32(unsigned char *buf, unsigned int v) { buf[0] = (v >> 24) & 0xff; -- cgit v1.2.3