@matheusbsbs / matheus-bagliano / commits / 46856f4e9d
Fork 0

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 <gary@thewrittenword.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Gary V. Vaughan committed May 14, 2010 at 09:31 UTC 46856f4e9d3d0fbfe1888ee19d632dfc04de8fab
1 file changed +7
Makefile
+7
@@ -740,6 +740,13 @@ EXTLIBS =
740 # because maintaining the nesting to match is a pain. If
741 # we had "elif" things would have been much nicer...
742
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
750 ifeq ($(uname_S),Linux)
751 NO_STRLCPY = YesPlease
752 NO_MKSTEMPS = YesPlease