Always add _CRT_SECURE_NO_WARNINGS to the preprocessor definition list to disable warnings about not using the safe functions introduced in MSVC8.

svn path=/trunk/; revision=30991
This commit is contained in:
Colin Finck 2007-12-03 23:03:58 +00:00
parent f076b05fed
commit 02a330f5da

View file

@ -351,6 +351,9 @@ MSVCBackend::_generate_vcproj ( const Module& module )
StringSet defines = common_defines;
// Always add _CRT_SECURE_NO_WARNINGS to disable warnings about not using the safe functions introduced in MSVC8.
defines.insert ( "_CRT_SECURE_NO_WARNINGS" );
if ( debug )
{
defines.insert ( "_DEBUG" );