From 271441eb9d568525a72cde810a64b63db5a39147 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 5 Dec 2010 15:24:10 +0000 Subject: MinGW: prefer C99 compliance by using replacement implementations. This addresses several warnings caused by format modifiers that are not supported by MSVCRT. MinGW provides replacement functions since mingw-runtime 3.15 so use them. See also http://article.gmane.org/gmane.comp.gnu.mingw.user/27539/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28735 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/sansapatcher/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'rbutil/sansapatcher') diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile index be764c90f4..05739245b9 100644 --- a/rbutil/sansapatcher/Makefile +++ b/rbutil/sansapatcher/Makefile @@ -8,6 +8,7 @@ else ifeq ($(findstring MINGW,$(shell uname)),MINGW) OUTPUT=sansapatcher.exe CROSS= +CFLAGS+=-D__USE_MINGW_ANSI_STDIO=1 else OUTPUT=sansapatcher CROSS=i586-mingw32msvc- -- cgit v1.2.3