diff options
author | Gary V. Vaughan <git@mlists.thewrittenword.com> | 2010-05-14 09:31:49 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-02 10:24:27 -0700 |
commit | 46856f4e9d3d0fbfe1888ee19d632dfc04de8fab (patch) | |
tree | 0279a1662483f856e28d6f18324069e3bc85fa1e /Makefile | |
parent | e78673ff0bef100535cc2ed146e4a59929c7b4fd (diff) | |
download | git-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-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |