MinGW: GCC >= 4 does not need SNPRINTF_SIZE_CORR anymore
[gitweb.git] / Makefile
index 0ab1cff30de7b3cc745ce79acca4a3f7cfbd1977..f63eaeae4f6abe034aa6bcdcae970344d4aa7537 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -847,7 +847,6 @@ ifneq (,$(findstring MINGW,$(uname_S)))
        UNRELIABLE_FSTAT = UnfortunatelyYes
        OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
        COMPAT_CFLAGS += -D__USE_MINGW_ACCESS -DNOGDI -Icompat -Icompat/regex -Icompat/fnmatch
-       COMPAT_CFLAGS += -DSNPRINTF_SIZE_CORR=1
        COMPAT_CFLAGS += -DSTRIP_EXTENSION=\".exe\"
        COMPAT_OBJS += compat/mingw.o compat/fnmatch/fnmatch.o compat/regex/regex.o compat/winansi.o
        EXTLIBS += -lws2_32