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>
Gary V. Vaughan committed
May 14, 2010 at 09:31 UTC
e78673ff0bef100535cc2ed146e4a59929c7b4fd
1 file changed
+8
Makefile
+8
@@ -988,6 +988,14 @@ ifeq ($(uname_S),HP-UX)
988
NO_INET_NTOP = YesPlease
989
NO_INET_PTON = YesPlease
990
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
999
GIT_TEST_CMP = cmp
1000
endif
1001
ifeq ($(uname_S),Windows)