From: Phil Pennock Date: Sat, 19 May 2012 23:13:51 +0000 (-0400) Subject: Portability to HP-UX. X-Git-Tag: exim-4_80_RC3~15 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=927bcf888f79506d6567bec6918807668344ae6d;p=exim.git Portability to HP-UX. Report and fix from Michael Haardt. The resolver library change's assumed typedef was absent, but the underlying struct __res_state is present. Long type issues for the arithmetic changes. --- diff --git a/src/OS/os.h-HP-UX b/src/OS/os.h-HP-UX index 05fc88ffe..87e4dfc97 100644 --- a/src/OS/os.h-HP-UX +++ b/src/OS/os.h-HP-UX @@ -17,4 +17,11 @@ typedef struct flock flock_t; +typedef struct __res_state *res_state; + +#define LLONG_MIN LONG_LONG_MIN +#define LLONG_MAX LONG_LONG_MAX + +#define strtoll(a,b,c) strtoimax(a,b,c) + /* End */