Skip to content

Commit ec47a33

Browse files
j6tgitster
authored andcommitted
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 <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 75f6929 commit ec47a33

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,6 @@ ifneq (,$(findstring MINGW,$(uname_S)))
10261026
NO_STRTOUMAX = YesPlease
10271027
NO_MKDTEMP = YesPlease
10281028
NO_MKSTEMPS = YesPlease
1029-
SNPRINTF_RETURNS_BOGUS = YesPlease
10301029
NO_SVN_TESTS = YesPlease
10311030
NO_PERL_MAKEMAKER = YesPlease
10321031
RUNTIME_PREFIX = YesPlease

0 commit comments

Comments
 (0)