Commit c060588b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Add <configuration> to preprocessor

 * This fixes export macro handling in windows which lead to
   Find Usages not working fully for header files on windows

Done-with: Roberto Raggi
parent 715796b4
......@@ -46,6 +46,7 @@ QByteArray FastPreprocessor::run(QString fileName, const QString &source)
if (Document::Ptr doc = _snapshot.document(fileName)) {
_merged.insert(fileName);
mergeEnvironment(QLatin1String("<configuration>"));
foreach (const Document::Include &i, doc->includes())
mergeEnvironment(i.fileName());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment