Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Makefile: HP-UX 10.20 portability fixes
author
Gary V. Vaughan
<git@mlists.thewrittenword.com>
Fri, 14 May 2010 09:31:48 +0000
(09:31 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 2 Jun 2010 17:24:27 +0000
(10:24 -0700)
HP-UX 10.20 has no pread definition, the inline keyword doesn't work,
and has no inet_ntop/inet_pton definitions.
Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
176959d
)
diff --git
a/Makefile
b/Makefile
index 638ca2f8aa1f3584645a62c42ddc40a1948b2b04..3368cceba65029ad6afe9716afde50e0aaaf7794 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-988,6
+988,14
@@
ifeq ($(uname_S),HP-UX)
NO_INET_NTOP = YesPlease
NO_INET_PTON = YesPlease
endif
+ ifeq ($(uname_R),B.10.20)
+ # Override HP-UX 11.x setting:
+ INLINE =
+ SOCKLEN_T = size_t
+ NO_PREAD = YesPlease
+ NO_INET_NTOP = YesPlease
+ NO_INET_PTON = YesPlease
+ endif
GIT_TEST_CMP = cmp
endif
ifeq ($(uname_S),Windows)