summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-12-16 21:10:21 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-12-16 21:10:21 +0000
commit70837fb1ede2a15323ac3fce3877a438ccff5c10 (patch)
tree5d3f99cb24a83e18a4992224153dd4d573314514 /rbutil
parent6c6123143faff8e0f85cba71812f1bd9cb2fdc77 (diff)
downloadrockbox-70837fb1ede2a15323ac3fce3877a438ccff5c10.tar.gz
rockbox-70837fb1ede2a15323ac3fce3877a438ccff5c10.zip
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
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/ipodpatcher/Makefile2
-rw-r--r--rbutil/sansapatcher/Makefile2
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