summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/BatchOnewaysAMI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/operations/BatchOnewaysAMI.cpp')
-rw-r--r--cpp/test/Ice/operations/BatchOnewaysAMI.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/BatchOnewaysAMI.cpp b/cpp/test/Ice/operations/BatchOnewaysAMI.cpp
index 9684545a6ac..59de2c74fc3 100644
--- a/cpp/test/Ice/operations/BatchOnewaysAMI.cpp
+++ b/cpp/test/Ice/operations/BatchOnewaysAMI.cpp
@@ -8,7 +8,12 @@
using namespace std;
+// Work-around for anonymous namspace bug in xlclang++
+#ifdef __ibmxl__
+namespace BatchOnewaysAMINamespace
+#else
namespace
+#endif
{
class Callback : public IceUtil::Monitor<IceUtil::Mutex>, public IceUtil::Shared
@@ -85,6 +90,10 @@ public:
};
}
+#ifdef __ibmxl__
+using namespace BatchOnewaysAMINamespace;
+#endif
+
void
batchOnewaysAMI(const Test::MyClassPrxPtr& p)
{