From 5cfe1ec2ad52e180ef98952849596386c84c4cf6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 24 Apr 2017 11:29:46 +0200 Subject: Use FZ_PATH_MAX. PATH_MAX is Linux specific. --- include/mupdf/fitz/system.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index 5d5a8064..e5ad84e0 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -5,6 +5,8 @@ #define FZ_LARGEFILE #endif +#define FZ_PATH_MAX (2048) + /* The very first decision we need to make is, are we using the 64bit * file pointers code. This must happen before the stdio.h include. */ #ifdef FZ_LARGEFILE @@ -119,10 +121,6 @@ static __inline int signbit(double x) #define va_copy_end(a) va_end(a) #endif -#ifndef PATH_MAX -#define PATH_MAX (1024) -#endif - typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; -- cgit v1.2.3