summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-04-24 11:29:46 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-04-27 12:02:58 +0200
commit5cfe1ec2ad52e180ef98952849596386c84c4cf6 (patch)
tree5f2c4f16687147e48ac7f62023f4b1a90006baa9 /include
parente0b23f941efd7412640cebe71a82a7df170388b2 (diff)
downloadmupdf-5cfe1ec2ad52e180ef98952849596386c84c4cf6.tar.xz
Use FZ_PATH_MAX.
PATH_MAX is Linux specific.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/system.h6
1 files changed, 2 insertions, 4 deletions
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;