summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/background/Configuration.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-03-15 11:01:41 +0100
committerBenoit Foucher <benoit@zeroc.com>2017-03-15 11:01:41 +0100
commita7704134b57a3428f28369993c697db6eea9d4fe (patch)
treef95513241636bab21f42b3221bbb1d9c6b4081b7 /cpp/test/Ice/background/Configuration.cpp
parentFixed testing of static builds (diff)
downloadice-a7704134b57a3428f28369993c697db6eea9d4fe.tar.bz2
ice-a7704134b57a3428f28369993c697db6eea9d4fe.tar.xz
ice-a7704134b57a3428f28369993c697db6eea9d4fe.zip
Fixed background build issue with static configuration
Diffstat (limited to 'cpp/test/Ice/background/Configuration.cpp')
-rw-r--r--cpp/test/Ice/background/Configuration.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/cpp/test/Ice/background/Configuration.cpp b/cpp/test/Ice/background/Configuration.cpp
index 16365ed3de1..dff12668226 100644
--- a/cpp/test/Ice/background/Configuration.cpp
+++ b/cpp/test/Ice/background/Configuration.cpp
@@ -7,6 +7,10 @@
//
// **********************************************************************
+#ifndef TEST_API_EXPORTS
+# define TEST_API_EXPORTS
+#endif
+
#include <Configuration.h>
Configuration* Configuration::_instance = 0;
@@ -33,7 +37,7 @@ Configuration::connectorsException(Ice::LocalException* ex)
Lock sync(*this);
_connectorsException.reset(ex);
}
-
+
void
Configuration::checkConnectorsException()
{
@@ -80,7 +84,7 @@ Configuration::initializeException(Ice::LocalException* ex)
Lock sync(*this);
_initializeException.reset(ex);
}
-
+
IceInternal::SocketOperation
Configuration::initializeSocketOperation()
{
@@ -116,7 +120,7 @@ Configuration::readException(Ice::LocalException* ex)
Lock sync(*this);
_readException.reset(ex);
}
-
+
bool
Configuration::readReady()
{
@@ -152,7 +156,7 @@ Configuration::writeException(Ice::LocalException* ex)
Lock sync(*this);
_writeException.reset(ex);
}
-
+
bool
Configuration::writeReady()
{