From: Johannes Sixt Date: Mon, 20 Jul 2009 20:15:07 +0000 (+0200) Subject: Recent MinGW has a C99 implementation of snprintf functions X-Git-Tag: v1.7.2-rc0~79^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ec47a33fd2c3b679c3d8cbd440752414adb56ce9;p=git.git Recent MinGW has a C99 implementation of snprintf functions Starting with MinGW 3.14, released end of 2007, a working snprintf is available. This means we do not need our own replacement that works around the broken implementation in Microsoft's C runtime. People who build git in an old MinGW environment are expected to set SNPRINTF_RETURNS_BOGUS in their config.mak. msysgit is sufficiently recent, of course. Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index eb1d1623c..7a014b127 100644 --- a/Makefile +++ b/Makefile @@ -1026,7 +1026,6 @@ ifneq (,$(findstring MINGW,$(uname_S))) NO_STRTOUMAX = YesPlease NO_MKDTEMP = YesPlease NO_MKSTEMPS = YesPlease - SNPRINTF_RETURNS_BOGUS = YesPlease NO_SVN_TESTS = YesPlease NO_PERL_MAKEMAKER = YesPlease RUNTIME_PREFIX = YesPlease