1
0
Fork 0
forked from len0rd/rockbox

Rockbox Utility: disable some pointless warnings when building with VS.

Visual Studio warns about the usage of some standard library functions (like
sprintf) as part of the SDL. Since we won't change using this functions for at
least portability reasons we really don't need to know about them.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31170 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-12-07 20:13:14 +00:00
parent e23adb5386
commit 16f48e8ebc

View file

@ -165,6 +165,7 @@ win32 {
# use MinGW's implementation of stdio functions for extended format string
# support.
DEFINES += __USE_MINGW_ANSI_STDIO=1
DEFINES += _CRT_SECURE_NO_WARNINGS
LIBS += -lsetupapi -lnetapi32
}
win32:static {