Author: cwittich
Date: Wed Nov 21 18:46:38 2007
New Revision: 30628
URL:
http://svn.reactos.org/svn/reactos?rev=30628&view=rev
Log:
don't include crt
define STDCALL
Modified:
trunk/reactos/tools/rbuild/backend/msbuild/msbuild.cpp
Modified: trunk/reactos/tools/rbuild/backend/msbuild/msbuild.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/msbui…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msbuild/msbuild.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/msbuild/msbuild.cpp Wed Nov 21 18:46:38 2007
@@ -157,7 +157,7 @@
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 @@
{
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)