summaryrefslogtreecommitdiff
path: root/cpp/demo/IceBox/hello/HelloServiceI.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2003-05-21 03:42:45 +0000
committerBernard Normier <bernard@zeroc.com>2003-05-21 03:42:45 +0000
commit9fc55c12633774c3cbf3130e332d51af53e67d96 (patch)
treef6fdfe07865b4062503aedf7216bfa6268693cc1 /cpp/demo/IceBox/hello/HelloServiceI.h
parentbug fixes, minor edits (diff)
downloadice-9fc55c12633774c3cbf3130e332d51af53e67d96.tar.bz2
ice-9fc55c12633774c3cbf3130e332d51af53e67d96.tar.xz
ice-9fc55c12633774c3cbf3130e332d51af53e67d96.zip
Sun C++ 5.5 port
Diffstat (limited to 'cpp/demo/IceBox/hello/HelloServiceI.h')
-rw-r--r--cpp/demo/IceBox/hello/HelloServiceI.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/demo/IceBox/hello/HelloServiceI.h b/cpp/demo/IceBox/hello/HelloServiceI.h
index cd7551f4418..f6f0c816d9c 100644
--- a/cpp/demo/IceBox/hello/HelloServiceI.h
+++ b/cpp/demo/IceBox/hello/HelloServiceI.h
@@ -17,10 +17,8 @@
#include <IceBox/IceBox.h>
-#if defined(_WIN32)
-# define HELLO_API __declspec(dllexport)
-#else
-# define HELLO_API /**/
+#ifndef HELLO_API
+# define HELLO_API ICE_DECLSPEC_EXPORT
#endif
class HELLO_API HelloServiceI : public ::IceBox::Service