define _CRT_SECURE_NO_DEPRECATE and _CRT_NON_CONFORMING_SWPRINTFS until we have a...
authorSteven Edwards <winehacker@gmail.com>
Wed, 30 Nov 2005 05:51:24 +0000 (05:51 +0000)
committerSteven Edwards <winehacker@gmail.com>
Wed, 30 Nov 2005 05:51:24 +0000 (05:51 +0000)
svn path=/trunk/; revision=19767

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
        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
        defines.push_back ( "STDCALL=__stdcall" );\r
 \r
        while ( ifs_list.size() )\r