Disable pre-compiled headers when using compilation units
[reactos.git] / reactos / tools / rbuild / compilationunitsupportcode.cpp
index 7bb8cd8..1c208f0 100644 (file)
@@ -82,8 +82,6 @@ CompilationUnitSupportCode::WriteCompilationUnitFile ( Module& module,
        s = buf;
        s = s + sprintf ( s, "/* This file is automatically generated. */\n" );
        s = s + sprintf ( s, "#define ONE_COMPILATION_UNIT\n" );
-       if ( module.pch )
-               s = s + sprintf ( s, "#include <%s>\n", ChangeSeparator ( module.pch->file.name, '\\', '/' ).c_str () );
 
        for ( size_t i = 0; i < compilationUnit.files.size () ; i++ )
        {