diff options
Diffstat (limited to 'cpp/test/Ice/background/Client.cpp')
-rw-r--r-- | cpp/test/Ice/background/Client.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/cpp/test/Ice/background/Client.cpp b/cpp/test/Ice/background/Client.cpp index ae7e42a4b17..2be438d8d35 100644 --- a/cpp/test/Ice/background/Client.cpp +++ b/cpp/test/Ice/background/Client.cpp @@ -15,6 +15,13 @@ using namespace std; using namespace Test; +extern "C" +{ + +Ice::Plugin* createTestTransport(const Ice::CommunicatorPtr&, const std::string&, const Ice::StringSeq&); + +}; + int run(int, char**, const Ice::CommunicatorPtr& communicator) { @@ -27,9 +34,13 @@ run(int, char**, const Ice::CommunicatorPtr& communicator) int main(int argc, char* argv[]) { +#ifdef ICE_STATIC_LIBS + Ice::registerIceSSL(false); + Ice::registerPluginFactory("Test", createTestTransport, false); +#endif + int status; Ice::CommunicatorPtr communicator; - try { Ice::InitializationData initData = getTestInitData(argc, argv); |