mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
don't force usage of warning.h as it breaks building on msvc unless the WDK is installed.
svn path=/trunk/; revision=24708
This commit is contained in:
parent
0b70008f89
commit
f56d1e28ca
1 changed files with 3 additions and 1 deletions
|
@ -254,7 +254,6 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
|||
|
||||
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 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
|||
{
|
||||
// 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 )
|
||||
|
|
Loading…
Reference in a new issue