From ec249304e64eb14f9b24fc2692c03734213f48b9 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Mon, 21 Jun 2010 16:02:24 +0200
Subject: [PATCH] work around msvc2010's apparent lack of appreciation for the
 meaning of "static"

---
 src/shared/proparser/profileparser.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/shared/proparser/profileparser.cpp b/src/shared/proparser/profileparser.cpp
index 125e09c6733..4228ede391e 100644
--- a/src/shared/proparser/profileparser.cpp
+++ b/src/shared/proparser/profileparser.cpp
@@ -88,6 +88,8 @@ void ProFileCache::discardFiles(const QString &prefix)
 
 #define fL1S(s) QString::fromLatin1(s)
 
+namespace { // MSVC2010 doesn't seem to know the semantics of "static" ...
+
 static struct {
     QString strelse;
     QString strfor;
@@ -95,6 +97,8 @@ static struct {
     QString strdefineReplace;
 } statics;
 
+}
+
 void ProFileParser::initialize()
 {
     if (!statics.strelse.isNull())
-- 
GitLab