aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGary V. Vaughan <git@mlists.thewrittenword.com>2010-05-14 09:31:49 +0000
committerJunio C Hamano <gitster@pobox.com>2010-06-02 10:24:27 -0700
commit46856f4e9d3d0fbfe1888ee19d632dfc04de8fab (patch)
tree0279a1662483f856e28d6f18324069e3bc85fa1e /Makefile
parente78673ff0bef100535cc2ed146e4a59929c7b4fd (diff)
downloadgit-46856f4e9d3d0fbfe1888ee19d632dfc04de8fab.tar.gz
git-46856f4e9d3d0fbfe1888ee19d632dfc04de8fab.tar.xz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3368cceba..bcb84be63 100644
--- a/Makefile
+++ b/Makefile
@@ -740,6 +740,13 @@ EXTLIBS =
# 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