X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3f7eeb86e15557a030b86e90d62708e96d68c023..53947857fdb3c00bb673f6d2ac326dc4ccf01c6e:/src/src/config.h.defaults diff --git a/src/src/config.h.defaults b/src/src/config.h.defaults index a5e12d2ab..14dbd0a00 100644 --- a/src/src/config.h.defaults +++ b/src/src/config.h.defaults @@ -172,4 +172,18 @@ just in case. */ #define ROOT_UID 0 #define ROOT_GID 0 +/* Sizes for integer arithmetic. Go for 64bit; can be overridden in OS/os.h-FOO */ +#ifndef int_eximarith_t + #define int_eximarith_t int64_t +#endif +#ifndef PR_EXIM_ARITH + #define PR_EXIM_ARITH "%" PRId64 /* C99 standard, printf %lld */ +#endif +#ifndef SC_EXIM_ARITH + #define SC_EXIM_ARITH "%" SCNi64 /* scanf incl. 0x prefix */ +#endif +#ifndef SC_EXIM_DEC + #define SC_EXIM_DEC "%" SCNd64 /* scanf decimal */ +#endif + /* End of config.h.defaults */