diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-04-26 13:26:45 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-04-27 15:12:03 +0200 |
commit | 2208034206c6085fa07063bcc6fdc834d6472912 (patch) | |
tree | 48fcce51c9bfeb4ccedbfb347e625b4429491cfa /include | |
parent | 722ff826ea46ef49f57b927435d320c67ae37037 (diff) | |
download | mupdf-2208034206c6085fa07063bcc6fdc834d6472912.tar.xz |
Use FZ_SEEK_SET macros for fz_seek.
Don't depend on stdio.h for our own I/O functions.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index e5ad84e0..77e3ceb9 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -94,6 +94,10 @@ #define fz_jmp_buf jmp_buf #endif +/* these constants mirror the corresponding macros in stdio.h */ +#define FZ_SEEK_SET 0 +#define FZ_SEEK_CUR 1 +#define FZ_SEEK_END 2 #ifndef _MSC_VER /* For gettimeofday */ #include <sys/time.h> |