summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2017-02-22 09:40:31 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2017-02-22 09:40:31 -0800
commit6477d336520e3278b56a39c4fd98f220522cb962 (patch)
treecff18451ec87cafb6991413a24f04c7831a85b39 /include
parentc109362f27679a5b8e56696292d96f9b067691ce (diff)
downloadmupdf-6477d336520e3278b56a39c4fd98f220522cb962.tar.xz
Move PATH_MAX to system.h
Better to have this defined at the system level rather than scattered about in various files.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/system.h4
1 files changed, 4 insertions, 0 deletions
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;