Makefile: HPUX11 portability fixes
There is no nanosecond field on HPUX, the inline keyword is spelled "__inline", and there are no inet_ntop/inet_pton definitions on HP-UX 11.00 Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Gary V. Vaughan committed
May 14, 2010 at 09:31 UTC
176959d7423988183ffbe1b35fc1de7f786bb596
1 file changed
+6
Makefile
+6
@@ -971,6 +971,7 @@ ifeq ($(uname_S),IRIX64)
971
NEEDS_LIBGEN = YesPlease
972
endif
973
ifeq ($(uname_S),HP-UX)
974
+ INLINE = __inline
975
NO_IPV6=YesPlease
976
NO_SETENV=YesPlease
977
NO_STRCASESTR=YesPlease
@@ -982,6 +983,11 @@ ifeq ($(uname_S),HP-UX)
983
NO_HSTRERROR = YesPlease
984
NO_SYS_SELECT_H = YesPlease
985
SNPRINTF_RETURNS_BOGUS = YesPlease
986
+ NO_NSEC = YesPlease
987
+ ifeq ($(uname_R),B.11.00)
988
+ NO_INET_NTOP = YesPlease
989
+ NO_INET_PTON = YesPlease
990
+ endif
991
GIT_TEST_CMP = cmp
992
endif
993
ifeq ($(uname_S),Windows)