[exim-cvs] Portability to HP-UX.

Página Inicial
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Assunto: [exim-cvs] Portability to HP-UX.
Gitweb: http://git.exim.org/exim.git/commitdiff/927bcf888f79506d6567bec6918807668344ae6d
Commit:     927bcf888f79506d6567bec6918807668344ae6d
Parent:     6475bd82de30cfbb2b0897a05d1200674aa88f4f
Author:     Phil Pennock <pdp@???>
AuthorDate: Sat May 19 19:13:51 2012 -0400
Committer:  Phil Pennock <pdp@???>
CommitDate: Sat May 19 19:13:51 2012 -0400


    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.
---
 src/OS/os.h-HP-UX |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)


diff --git a/src/OS/os.h-HP-UX b/src/OS/os.h-HP-UX
index 05fc88f..87e4dfc 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 */