define _CRT_SECURE_NO_DEPRECATE and _CRT_NON_CONFORMING_SWPRINTFS until we have a...
[reactos.git] / reactos / tools / rbuild / backend / msvc / vcprojmaker.cpp
index c3698f6..b84d0a0 100644 (file)
@@ -86,6 +86,8 @@ MSVCBackend::_generate_vcproj ( const Module& module )
        ifs_list.push_back ( &module.non_if_data );\r
 \r
        // this is a define in MinGW w32api, but not Microsoft's headers\r
+       defines.push_back ( "_CRT_SECURE_NO_DEPRECATE" );\r
+       defines.push_back ( "_CRT_NON_CONFORMING_SWPRINTFS" );\r
        defines.push_back ( "STDCALL=__stdcall" );\r
 \r
        while ( ifs_list.size() )\r