summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Proxy.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/src/Ice/Proxy.cpp b/cpp/src/Ice/Proxy.cpp
index 5c56f4d8d0d..65fc7a6dd25 100644
--- a/cpp/src/Ice/Proxy.cpp
+++ b/cpp/src/Ice/Proxy.cpp
@@ -36,6 +36,24 @@ const Context noExplicitContext;
}
+#if defined(_MSC_VER) && (_MSC_VER == 1500)
+//
+// COMPILERFIX VC90 get confused with namespaces and complains that
+// ::Ice::noExplicitContext isn't defined in IceProxy namespace.
+//
+namespace IceProxy
+{
+
+namespace Ice
+{
+
+const Context noExplicitContext;
+
+}
+
+}
+#endif
+
namespace
{