Skip to content

Commit 46856f4

Browse files
Gary V. Vaughangitster
Gary V. Vaughan
authored andcommitted
Makefile: Tru64 portability fix
Add defaults for Tru64 Unix. Without this patch I cannot compile git on Tru64 5.1. Signed-off-by: Gary V. Vaughan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e78673f commit 46856f4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,13 @@ EXTLIBS =
740740
# because maintaining the nesting to match is a pain. If
741741
# we had "elif" things would have been much nicer...
742742

743+
ifeq ($(uname_S),OSF1)
744+
# Need this for u_short definitions et al
745+
BASIC_CFLAGS += -D_OSF_SOURCE
746+
SOCKLEN_T = int
747+
NO_STRTOULL = YesPlease
748+
NO_NSEC = YesPlease
749+
endif
743750
ifeq ($(uname_S),Linux)
744751
NO_STRLCPY = YesPlease
745752
NO_MKSTEMPS = YesPlease

0 commit comments

Comments
 (0)