From 6477d336520e3278b56a39c4fd98f220522cb962 Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Wed, 22 Feb 2017 09:40:31 -0800 Subject: Move PATH_MAX to system.h Better to have this defined at the system level rather than scattered about in various files. --- include/mupdf/fitz/system.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index bbc688d7..d6753782 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -119,6 +119,10 @@ 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