Skip to content

Commit e78673f

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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,14 @@ ifeq ($(uname_S),HP-UX)
988988
NO_INET_NTOP = YesPlease
989989
NO_INET_PTON = YesPlease
990990
endif
991+
ifeq ($(uname_R),B.10.20)
992+
# Override HP-UX 11.x setting:
993+
INLINE =
994+
SOCKLEN_T = size_t
995+
NO_PREAD = YesPlease
996+
NO_INET_NTOP = YesPlease
997+
NO_INET_PTON = YesPlease
998+
endif
991999
GIT_TEST_CMP = cmp
9921000
endif
9931001
ifeq ($(uname_S),Windows)

0 commit comments

Comments
 (0)