summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
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