summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Gary V. Vaughan <git@mlists.thewrittenword.com>2010-05-14 09:31:47 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-06-02 10:24:27 -0700
commit176959d7423988183ffbe1b35fc1de7f786bb596 (patch)
treece83f739eb7e463db208398cea61bd781863a0cd
parentMakefile: SunOS 5.6 portability fix (diff)
downloadtgif-176959d7423988183ffbe1b35fc1de7f786bb596.tar.xz
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>
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f29ff85991..638ca2f8aa 100644
--- a/Makefile
+++ b/Makefile
@@ -971,6 +971,7 @@ ifeq ($(uname_S),IRIX64)
NEEDS_LIBGEN = YesPlease
endif
ifeq ($(uname_S),HP-UX)
+ INLINE = __inline
NO_IPV6=YesPlease
NO_SETENV=YesPlease
NO_STRCASESTR=YesPlease
@@ -982,6 +983,11 @@ ifeq ($(uname_S),HP-UX)
NO_HSTRERROR = YesPlease
NO_SYS_SELECT_H = YesPlease
SNPRINTF_RETURNS_BOGUS = YesPlease
+ NO_NSEC = YesPlease
+ ifeq ($(uname_R),B.11.00)
+ NO_INET_NTOP = YesPlease
+ NO_INET_PTON = YesPlease
+ endif
GIT_TEST_CMP = cmp
endif
ifeq ($(uname_S),Windows)