summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid M. Syzdek <david.syzdek@acsalaska.net>2008-10-26 11:52:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-11-02 08:09:34 (GMT)
commit0bc3e781deb543ac2042cbd862c035403404c93d (patch)
tree61c10fdd81c3e9bdd840cd736970a8bdc6c8afc3 /Makefile
parent933bb3ae5e6c83288ec7c80c2282984f4927cb48 (diff)
downloadgit-0bc3e781deb543ac2042cbd862c035403404c93d.zip
git-0bc3e781deb543ac2042cbd862c035403404c93d.tar.gz
git-0bc3e781deb543ac2042cbd862c035403404c93d.tar.bz2
Build: add NO_UINTMAX_T to support ancient systems
This adds NO_UINTMAX_T for ancient systems, such as FreeBSD 4.9-SECURITY. If NO_UINTMAX_T is defined, then uintmax_t is defined as uint32_t. Signed-off-by: David M. Syzdek <david.syzdek@acsalaska.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d6f3695..0698365 100644
--- a/Makefile
+++ b/Makefile
@@ -955,6 +955,9 @@ endif
ifdef NO_IPV6
BASIC_CFLAGS += -DNO_IPV6
endif
+ifdef NO_UINTMAX_T
+ BASIC_CFLAGS += -Duintmax_t=uint32_t
+endif
ifdef NO_SOCKADDR_STORAGE
ifdef NO_IPV6
BASIC_CFLAGS += -Dsockaddr_storage=sockaddr_in