summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e78673f)
raw | patch | inline | side by side (parent: e78673f)
author | Gary V. Vaughan <git@mlists.thewrittenword.com> | |
Fri, 14 May 2010 09:31:49 +0000 (09:31 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 2 Jun 2010 17:24:27 +0000 (10:24 -0700) |
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>
git on Tru64 5.1.
Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 3368cceba65029ad6afe9716afde50e0aaaf7794..bcb84be63547c7a8a2c7e7a52f9af7280c72e5a7 100644 (file)
--- a/Makefile
+++ b/Makefile
# because maintaining the nesting to match is a pain. If
# we had "elif" things would have been much nicer...
+ifeq ($(uname_S),OSF1)
+ # Need this for u_short definitions et al
+ BASIC_CFLAGS += -D_OSF_SOURCE
+ SOCKLEN_T = int
+ NO_STRTOULL = YesPlease
+ NO_NSEC = YesPlease
+endif
ifeq ($(uname_S),Linux)
NO_STRLCPY = YesPlease
NO_MKSTEMPS = YesPlease