summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/system.h
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-08-01 23:59:52 +0800
committerSebastian Rasmussen <sebras@gmail.com>2017-08-02 23:03:25 +0800
commitca810da853dd09fe3b3a2b5bc7c6606dd4ad31f0 (patch)
treeaf2165678f1dfb1a678279bb829129aaa636cff9 /include/mupdf/fitz/system.h
parent143f2ac5ac980ef2ed0e606d8f88aea33db69f34 (diff)
downloadmupdf-ca810da853dd09fe3b3a2b5bc7c6606dd4ad31f0.tar.xz
Sort FILE interface defines, to make sure all defined.
Diffstat (limited to 'include/mupdf/fitz/system.h')
-rw-r--r--include/mupdf/fitz/system.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h
index ecda8936..6870ec03 100644
--- a/include/mupdf/fitz/system.h
+++ b/include/mupdf/fitz/system.h
@@ -210,22 +210,22 @@ void fz_free_argv(int argc, char **argv);
#endif
#ifdef FZ_LARGEFILE
+typedef int64_t fz_off_t;
+#define FZ_OFF_MAX 0x7fffffffffffffffLL
#ifndef fz_fopen
#define fz_fopen fopen64
#endif
-typedef int64_t fz_off_t;
#define fz_fseek fseeko64
#define fz_ftell ftello64
#define fz_atoo_imp atoll
-#define FZ_OFF_MAX 0x7fffffffffffffffLL
#else
+typedef int fz_off_t;
+#define FZ_OFF_MAX INT_MAX
#ifndef fz_fopen
#define fz_fopen fopen
#endif
#define fz_fseek fseek
#define fz_ftell ftell
-typedef int fz_off_t;
-#define FZ_OFF_MAX INT_MAX
#define fz_atoo_imp atoi
#endif