Author: gedmurphy
Date: Thu Nov 9 21:47:05 2006
New Revision: 24708
URL:
http://svn.reactos.org/svn/reactos?rev=24708&view=rev
Log:
don't force usage of warning.h as it breaks building on msvc unless the WDK is
installed.
Modified:
trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/msvc/…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp Thu Nov 9 21:47:05 2006
@@ -254,7 +254,6 @@
fprintf ( OUT, "\t\t\t<Tool\r\n" );
fprintf ( OUT, "\t\t\t\tName=\"VCCLCompilerTool\"\r\n" );
- fprintf ( OUT, "\t\t\t\tForcedIncludeFiles=\"warning.h\"\r\n" );
fprintf ( OUT, "\t\t\t\tOptimization=\"%d\"\r\n", release ? 2 : 0
);
fprintf ( OUT, "\t\t\t\tAdditionalIncludeDirectories=\"" );
@@ -301,6 +300,9 @@
{
// this is a define in MinGW w32api, but not Microsoft's headers
defines.insert ( "STDCALL=__stdcall" );
+ // MinGW doesn't have a safe-string library yet
+ defines.insert ( "_CRT_SECURE_NO_DEPRECATE" );
+ defines.insert ( "_CRT_NON_CONFORMING_SWPRINTFS" );
}
if ( lib || exe )