diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-24 11:29:46 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-27 12:02:58 +0200 |
commit | 5cfe1ec2ad52e180ef98952849596386c84c4cf6 (patch) | |
tree | 5f2c4f16687147e48ac7f62023f4b1a90006baa9 /source/fitz | |
parent | e0b23f941efd7412640cebe71a82a7df170388b2 (diff) | |
download | mupdf-5cfe1ec2ad52e180ef98952849596386c84c4cf6.tar.xz |
Use FZ_PATH_MAX.
PATH_MAX is Linux specific.
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/output-cbz.c | 2 | ||||
-rw-r--r-- | source/fitz/output-svg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/output-cbz.c b/source/fitz/output-cbz.c index 0e0a0195..82c4a6b7 100644 --- a/source/fitz/output-cbz.c +++ b/source/fitz/output-cbz.c @@ -107,7 +107,7 @@ static void pixmap_end_page(fz_context *ctx, fz_document_writer *wri_, fz_device *dev) { fz_pixmap_writer *wri = (fz_pixmap_writer*)wri_; - char path[PATH_MAX]; + char path[FZ_PATH_MAX]; fz_close_device(ctx, dev); fz_drop_device(ctx, dev); diff --git a/source/fitz/output-svg.c b/source/fitz/output-svg.c index 174906a2..a0ea0299 100644 --- a/source/fitz/output-svg.c +++ b/source/fitz/output-svg.c @@ -24,7 +24,7 @@ static fz_device * svg_begin_page(fz_context *ctx, fz_document_writer *wri_, const fz_rect *mediabox) { fz_svg_writer *wri = (fz_svg_writer*)wri_; - char path[PATH_MAX]; + char path[FZ_PATH_MAX]; float w = mediabox->x1 - mediabox->x0; float h = mediabox->y1 - mediabox->y0; |