From 70837fb1ede2a15323ac3fce3877a438ccff5c10 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 16 Dec 2011 21:10:21 +0000 Subject: sansapatcher, ipodpatcher: use MinGW C99 version of stdio functions. The MinGW versions know additional format identifiers. Use those versions to avoid warnings. See also http://article.gmane.org/gmane.comp.gnu.mingw.user/27539/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31331 a1c6a512-1295-4272-9138-f99709370657 --- rbutil/ipodpatcher/Makefile | 2 +- rbutil/sansapatcher/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile index bae805671e..6a94466a0c 100644 --- a/rbutil/ipodpatcher/Makefile +++ b/rbutil/ipodpatcher/Makefile @@ -7,7 +7,7 @@ # $Id$ # -CFLAGS += -Wall -W +CFLAGS += -Wall -W -D__USE_MINGW_ANSI_STDIO=1 # Build with "make BOOTOBJS=1" to build with embedded bootloaders and the # --install option and interactive mode. You need the full set of Rockbox diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile index b3bf51ee2a..c510d968bb 100644 --- a/rbutil/sansapatcher/Makefile +++ b/rbutil/sansapatcher/Makefile @@ -6,7 +6,7 @@ # \/ \/ \/ \/ \/ TARGET_DIR ?= $(shell pwd)/ -CFLAGS += -Wall -W -D_LARGEFILE64_SOURCE +CFLAGS += -Wall -W -D_LARGEFILE64_SOURCE -D__USE_MINGW_ANSI_STDIO=1 OUTPUT = sansapatcher -- cgit v1.2.3