diff options
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloServiceI.h')
-rw-r--r-- | cpp/demo/IceBox/hello/HelloServiceI.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/demo/IceBox/hello/HelloServiceI.h b/cpp/demo/IceBox/hello/HelloServiceI.h index 015b532c6aa..6d0601e3d31 100644 --- a/cpp/demo/IceBox/hello/HelloServiceI.h +++ b/cpp/demo/IceBox/hello/HelloServiceI.h @@ -13,7 +13,13 @@ #include <IceBox/IceBox.h> -class HelloServiceI : public ::IceBox::Service +#if defined(_WIN32) +# define HELLO_API __declspec(dllexport) +#else +# define HELLO_API /**/ +#endif + +class HELLO_API HelloServiceI : public ::IceBox::Service { public: |