diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-12-16 21:10:21 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-12-16 21:10:21 +0000 |
commit | 70837fb1ede2a15323ac3fce3877a438ccff5c10 (patch) | |
tree | 5d3f99cb24a83e18a4992224153dd4d573314514 | |
parent | 6c6123143faff8e0f85cba71812f1bd9cb2fdc77 (diff) | |
download | rockbox-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
-rw-r--r-- | rbutil/ipodpatcher/Makefile | 2 | ||||
-rw-r--r-- | 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 @@ | |||
7 | # $Id$ | 7 | # $Id$ |
8 | # | 8 | # |
9 | 9 | ||
10 | CFLAGS += -Wall -W | 10 | CFLAGS += -Wall -W -D__USE_MINGW_ANSI_STDIO=1 |
11 | 11 | ||
12 | # Build with "make BOOTOBJS=1" to build with embedded bootloaders and the | 12 | # Build with "make BOOTOBJS=1" to build with embedded bootloaders and the |
13 | # --install option and interactive mode. You need the full set of Rockbox | 13 | # --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 @@ | |||
6 | # \/ \/ \/ \/ \/ | 6 | # \/ \/ \/ \/ \/ |
7 | 7 | ||
8 | TARGET_DIR ?= $(shell pwd)/ | 8 | TARGET_DIR ?= $(shell pwd)/ |
9 | CFLAGS += -Wall -W -D_LARGEFILE64_SOURCE | 9 | CFLAGS += -Wall -W -D_LARGEFILE64_SOURCE -D__USE_MINGW_ANSI_STDIO=1 |
10 | 10 | ||
11 | OUTPUT = sansapatcher | 11 | OUTPUT = sansapatcher |
12 | 12 | ||