From c060588b15851fb8f6e16a660c8a2cb63d601638 Mon Sep 17 00:00:00 2001
From: Tobias Hunger <tobias.hunger@nokia.com>
Date: Fri, 27 Aug 2010 12:08:22 +0200
Subject: [PATCH] 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
---
 src/libs/cplusplus/FastPreprocessor.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libs/cplusplus/FastPreprocessor.cpp b/src/libs/cplusplus/FastPreprocessor.cpp
index 6d1326a6225..5490071731a 100644
--- a/src/libs/cplusplus/FastPreprocessor.cpp
+++ b/src/libs/cplusplus/FastPreprocessor.cpp
@@ -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());
     }
-- 
GitLab