summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/rtcorba_event_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/rtcorba_event_export.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/rtcorba_event_export.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/rtcorba_event_export.h b/TAO/orbsvcs/orbsvcs/Event/rtcorba_event_export.h
index 874ad7899fb..e2af98341c2 100644
--- a/TAO/orbsvcs/orbsvcs/Event/rtcorba_event_export.h
+++ b/TAO/orbsvcs/orbsvcs/Event/rtcorba_event_export.h
@@ -9,9 +9,15 @@
#include "ace/config-all.h"
-#if !defined (TAO_RTCORBAEVENT_HAS_DLL)
-# define TAO_RTCORBAEVENT_HAS_DLL 1
-#endif /* ! TAO_RTCORBAEVENT_HAS_DLL */
+#if defined (TAO_AS_STATIC_LIBS)
+# if !defined (TAO_RTCORBAEVENT_HAS_DLL)
+# define TAO_RTCORBAEVENT_HAS_DLL 0
+# endif /* ! TAO_RTCORBAEVENT_HAS_DLL */
+#else
+# if !defined (TAO_RTCORBAEVENT_HAS_DLL)
+# define TAO_RTCORBAEVENT_HAS_DLL 1
+# endif /* ! TAO_RTCORBAEVENT_HAS_DLL */
+#endif
#if defined (TAO_RTCORBAEVENT_HAS_DLL) && (TAO_RTCORBAEVENT_HAS_DLL == 1)
# if defined (TAO_RTCORBAEVENT_BUILD_DLL)