git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6475bd8
)
Portability to HP-UX.
author
Phil Pennock
<pdp@exim.org>
Sat, 19 May 2012 23:13:51 +0000
(19:13 -0400)
committer
Phil Pennock
<pdp@exim.org>
Sat, 19 May 2012 23:13:51 +0000
(19:13 -0400)
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
patch
|
blob
|
history
diff --git
a/src/OS/os.h-HP-UX
b/src/OS/os.h-HP-UX
index 05fc88ffee6ebafec26c91bc4f27d2c2d0dea730..87e4dfc97758d829ba9a96c7371761418dd302ed 100644
(file)
--- 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 */