summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/IceUtil/Config.h4
-rw-r--r--cpp/test/Ice/udp/AllTests.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/cpp/include/IceUtil/Config.h b/cpp/include/IceUtil/Config.h
index 15fdebb9028..c9c2046f25a 100644
--- a/cpp/include/IceUtil/Config.h
+++ b/cpp/include/IceUtil/Config.h
@@ -174,8 +174,8 @@
// exporting the whole class
# define ICE_MEMBER_IMPORT_EXPORT
#elif (defined(__GNUC__) || defined(__clang__)) && !defined(__ibmxl__)
-# define ICE_DECLSPEC_EXPORT __attribute__((visibility("default")))
-# define ICE_DECLSPEC_IMPORT __attribute__((visibility("default")))
+# define ICE_DECLSPEC_EXPORT __attribute__((visibility ("default")))
+# define ICE_DECLSPEC_IMPORT __attribute__((visibility ("default")))
#elif defined(__SUNPRO_CC)
# define ICE_DECLSPEC_EXPORT __global
# define ICE_DECLSPEC_IMPORT /**/
diff --git a/cpp/test/Ice/udp/AllTests.cpp b/cpp/test/Ice/udp/AllTests.cpp
index ba11d63ff8b..cbe74f201f6 100644
--- a/cpp/test/Ice/udp/AllTests.cpp
+++ b/cpp/test/Ice/udp/AllTests.cpp
@@ -165,7 +165,7 @@ allTests(Test::TestHelper* helper)
if(communicator->getProperties()->getProperty("Ice.IPv6") == "1")
{
cout << "(not supported) ";
- ret = 5;
+ ret = true;
break;
}
throw;