diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-24 11:39:47 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-27 12:02:58 +0200 |
commit | 1724a8ccd667c6ec468e2e8a01161c32bf59d706 (patch) | |
tree | 9fc69a8342e21422c8ab96da524588c605530b5a /include | |
parent | 147b081bde160f879b941ad1f2a46c643f5da414 (diff) | |
download | mupdf-1724a8ccd667c6ec468e2e8a01161c32bf59d706.tar.xz |
Rename FMT_zu to FZ_FMT_zu.
Don't use FMT_zu macro for fz_throw/fz_warn, since we can portably handle '%zu'
in our own printf formatting.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/system.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index d6753782..5d5a8064 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -230,11 +230,11 @@ typedef int fz_off_t; /* Portable way to format a size_t */ #if defined(_WIN64) -#define FMT_zu "%llu" +#define FZ_FMT_zu "%llu" #elif defined(_WIN32) -#define FMT_zu "%u" +#define FZ_FMT_zu "%u" #else -#define FMT_zu "%zu" +#define FZ_FMT_zu "%zu" #endif #ifdef __ANDROID__ |