Author: janderwald
Date: Tue May 9 13:23:20 2006
New Revision: 21865
URL:
http://svn.reactos.ru/svn/reactos?rev=21865&view=rev
Log:
exclude wine/w32api headers from msvc include paths
Modified:
trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/tools/rbuild/backend/msvc/v…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp Tue May 9 13:23:20 2006
@@ -131,11 +131,17 @@
for ( i = 0; i < incs.size(); i++ )
{
// explicitly omit win32api directories
- if ( !strncmp(incs[i]->directory.c_str(), "w32api", 6 ) )
+ if ( !strncmp(incs[i]->directory.c_str(), "include\\ddk", 11 ) )
+ continue;
+
+ if ( !strncmp(incs[i]->directory.c_str(), "include\\crt", 11 ) )
continue;
+ if ( !strncmp(incs[i]->directory.c_str(), "include\\GL", 10 ) )
+ continue;
+
// explicitly omit include/wine directories
- if ( !strncmp(incs[i]->directory.c_str(), "include\\wine", 12 ) )
+ if ( !strncmp(incs[i]->directory.c_str(), "include\\reactos\\wine", 20 )
)
continue;
string path = Path::RelativeFromDirectory (