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>
This commit is contained in:
Gary V. Vaughan 2010-05-14 09:31:48 +00:00 коммит произвёл Junio C Hamano
Родитель 176959d742
Коммит e78673ff0b
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -988,6 +988,14 @@ ifeq ($(uname_S),HP-UX)
NO_INET_NTOP = YesPlease NO_INET_NTOP = YesPlease
NO_INET_PTON = YesPlease NO_INET_PTON = YesPlease
endif 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 GIT_TEST_CMP = cmp
endif endif
ifeq ($(uname_S),Windows) ifeq ($(uname_S),Windows)