summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGary V. Vaughan <git@mlists.thewrittenword.com>2010-05-14 09:31:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-06-02 17:24:27 (GMT)
commite78673ff0bef100535cc2ed146e4a59929c7b4fd (patch)
tree5cd2f200cfb72fde7b5852f57b341595b62ecbea /Makefile
parent176959d7423988183ffbe1b35fc1de7f786bb596 (diff)
downloadgit-e78673ff0bef100535cc2ed146e4a59929c7b4fd.zip
git-e78673ff0bef100535cc2ed146e4a59929c7b4fd.tar.gz
git-e78673ff0bef100535cc2ed146e4a59929c7b4fd.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 638ca2f..3368cce 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)