diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-12-11 19:16:05 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2017-12-13 21:38:26 +0100 |
commit | 72f9012f643934e545d646795867057468815a00 (patch) | |
tree | 259d107f9e9c79f95a62fe3766e0dff717eacbc7 /include | |
parent | bd41b371219c68e0c4d047bc4921bd0fd941b90f (diff) | |
download | mupdf-72f9012f643934e545d646795867057468815a00.tar.xz |
Define constant INT64_MAX where int64_t is declared.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/system.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mupdf/fitz/system.h b/include/mupdf/fitz/system.h index 05527710..18d75a5c 100644 --- a/include/mupdf/fitz/system.h +++ b/include/mupdf/fitz/system.h @@ -25,6 +25,9 @@ typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned __int64 uint64_t; +#ifndef INT64_MAX +#define INT64_MAX 9223372036854775807i64 +#endif #else #include <stdint.h> /* needed for int64_t */ #endif |