summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2019-07-15 14:35:38 +0200
committerBenoit Foucher <benoit@zeroc.com>2019-07-15 14:35:38 +0200
commit030df3258cbc10c6e8f4fc808002abf93a36e63f (patch)
tree79b73f99b5251d502b3dbed5318575790ace1e94 /cpp
parentUpdate gradle wrapper to latest 4.10 patch release (diff)
downloadice-030df3258cbc10c6e8f4fc808002abf93a36e63f.tar.bz2
ice-030df3258cbc10c6e8f4fc808002abf93a36e63f.tar.xz
ice-030df3258cbc10c6e8f4fc808002abf93a36e63f.zip
Fixed build failures caused by AIX port
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;