diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-05-14 16:41:26 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-05-14 11:46:32 -0300 |
commit | 342827787577e79842bd9d3551e0de849cfe8f7b (patch) | |
tree | 4168932e7ba4cbbaff3b5074dd7a5f8177a624b9 /cpp | |
parent | Fixed ICE-5539 (C++ only) and added properties test for whitespace and escapes. (diff) | |
download | ice-342827787577e79842bd9d3551e0de849cfe8f7b.tar.bz2 ice-342827787577e79842bd9d3551e0de849cfe8f7b.tar.xz ice-342827787577e79842bd9d3551e0de849cfe8f7b.zip |
Fixed background test failure on OS X caused by visibility changes
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/Ice/background/PluginI.cpp | 4 | ||||
-rw-r--r-- | cpp/test/Ice/background/PluginI.h | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/cpp/test/Ice/background/PluginI.cpp b/cpp/test/Ice/background/PluginI.cpp index db22843bb5e..a4c7130c11c 100644 --- a/cpp/test/Ice/background/PluginI.cpp +++ b/cpp/test/Ice/background/PluginI.cpp @@ -7,6 +7,10 @@ // // ********************************************************************** +#ifndef TEST_API_EXPORTS +# define TEST_API_EXPORTS +#endif + #include <Ice/Initialize.h> #include <Ice/Instance.h> #include <Ice/ProtocolPluginFacade.h> diff --git a/cpp/test/Ice/background/PluginI.h b/cpp/test/Ice/background/PluginI.h index ec6d2cf8223..5f5adbc71be 100644 --- a/cpp/test/Ice/background/PluginI.h +++ b/cpp/test/Ice/background/PluginI.h @@ -13,7 +13,15 @@ #include <Ice/Plugin.h> #include <Configuration.h> -class PluginI : public Ice::Plugin +#ifndef TEST_API +# ifdef TEST_API_EXPORTS +# define TEST_API ICE_DECLSPEC_EXPORT +# else +# define TEST_API ICE_DECLSPEC_IMPORT +# endif +#endif + +class TEST_API PluginI : public Ice::Plugin { public: |