define _CRT_SECURE_NO_DEPRECATE and _CRT_NON_CONFORMING_SWPRINTFS until we have a strsafe lib that works for both msvc and mingw

svn path=/trunk/; revision=19767
This commit is contained in:
Steven Edwards 2005-11-30 05:51:24 +00:00
parent 7b168f1206
commit c08547cadd

View file

@ -86,6 +86,8 @@ MSVCBackend::_generate_vcproj ( const Module& module )
ifs_list.push_back ( &module.non_if_data );
// this is a define in MinGW w32api, but not Microsoft's headers
defines.push_back ( "_CRT_SECURE_NO_DEPRECATE" );
defines.push_back ( "_CRT_NON_CONFORMING_SWPRINTFS" );
defines.push_back ( "STDCALL=__stdcall" );
while ( ifs_list.size() )