Skip to content

Commit 176959d

Browse files
Gary V. Vaughangitster
authored andcommitted
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>
1 parent 614dd90 commit 176959d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@ ifeq ($(uname_S),IRIX64)
971971
NEEDS_LIBGEN = YesPlease
972972
endif
973973
ifeq ($(uname_S),HP-UX)
974+
INLINE = __inline
974975
NO_IPV6=YesPlease
975976
NO_SETENV=YesPlease
976977
NO_STRCASESTR=YesPlease
@@ -982,6 +983,11 @@ ifeq ($(uname_S),HP-UX)
982983
NO_HSTRERROR = YesPlease
983984
NO_SYS_SELECT_H = YesPlease
984985
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
985991
GIT_TEST_CMP = cmp
986992
endif
987993
ifeq ($(uname_S),Windows)

0 commit comments

Comments
 (0)