summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <git@mlists.thewrittenword.com>2010-05-14 09:31:48 +0000
committerJunio C Hamano <gitster@pobox.com>2010-06-02 10:24:27 -0700
commite78673ff0bef100535cc2ed146e4a59929c7b4fd (patch)
tree5cd2f200cfb72fde7b5852f57b341595b62ecbea
parent176959d7423988183ffbe1b35fc1de7f786bb596 (diff)
downloadgit-e78673ff0bef100535cc2ed146e4a59929c7b4fd.tar.gz
Makefile: HP-UX 10.20 portability fixes
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>
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 638ca2f8aa..3368cceba6 100644
--- 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)