summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.pro
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-12-05 15:24:10 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-12-05 15:24:10 +0000
commit271441eb9d568525a72cde810a64b63db5a39147 (patch)
tree62896f581829e4ad90bd1b6e1615d5d7597d58c5 /rbutil/rbutilqt/rbutilqt.pro
parent465e75a2bacee4349e8d70e8de8760e1bb5086e2 (diff)
downloadrockbox-271441eb9d568525a72cde810a64b63db5a39147.tar.gz
rockbox-271441eb9d568525a72cde810a64b63db5a39147.tar.bz2
rockbox-271441eb9d568525a72cde810a64b63db5a39147.zip
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
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.pro')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index c431c824c7..227cb9601f 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -130,6 +130,9 @@ DEFINES += RBUTIL _LARGEFILE64_SOURCE
# platform specific
win32 {
+ # use MinGW's implementation of stdio functions for extended format string
+ # support.
+ DEFINES += __USE_MINGW_ANSI_STDIO=1
LIBS += -lsetupapi -lnetapi32
}
win32:static {