Build: add NO_UINTMAX_T to support ancient systems
[gitweb.git] / Makefile
index d6f3695c97d5c36fe3b99dfc056173b6d785cd4b..0698365078c4b98de04da8701c68b5d1811b3487 100644 (file)
--- 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