mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +00:00
don't include crt
define STDCALL svn path=/trunk/; revision=30628
This commit is contained in:
parent
ddcd968807
commit
e4a00dc451
1 changed files with 4 additions and 3 deletions
|
@ -157,7 +157,7 @@ MsBuildBackend::_generate_sources ( const Module& module )
|
|||
fprintf ( OUT, "\r\nMSC_WARNING_LEVEL=/W3 /WX\r\n\r\n" );
|
||||
|
||||
/* Disable deprecated function uage warnings */
|
||||
fprintf ( OUT, "C_DEFINES=$(C_DEFINES) /DDDKAPI=__stdcall /wd4996\r\n" );
|
||||
fprintf ( OUT, "C_DEFINES=$(C_DEFINES) /DSTDCALL=__stdcall /DDDKAPI=__stdcall /wd4996\r\n" );
|
||||
|
||||
|
||||
/* includes */
|
||||
|
@ -166,10 +166,11 @@ MsBuildBackend::_generate_sources ( const Module& module )
|
|||
{
|
||||
const string& include = includes[i];
|
||||
|
||||
/* don't include psdk / ddk */
|
||||
/* don't include psdk / ddk / crt */
|
||||
std::string::size_type pos = include.find("ddk");
|
||||
std::string::size_type pos2 = include.find("psdk");
|
||||
if ((std::string::npos == pos) && (std::string::npos == pos2))
|
||||
std::string::size_type pos3 = include.find("crt");
|
||||
if ((std::string::npos == pos) && (std::string::npos == pos2) && (std::string::npos == pos3))
|
||||
fprintf ( OUT, "\t%s; \\\r\n", include.c_str() );
|
||||
}
|
||||
if (includes.size() > 1)
|
||||
|
|
Loading…
Reference in a new issue