From: Gary V. Vaughan Date: Fri, 14 May 2010 09:31:48 +0000 (+0000) Subject: Makefile: HP-UX 10.20 portability fixes X-Git-Tag: v1.7.2-rc0~32^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e78673ff0bef100535cc2ed146e4a59929c7b4fd;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 638ca2f8a..3368cceba 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)