diff options
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/rtkokyu_event_export.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/rtkokyu_event_export.h b/TAO/orbsvcs/orbsvcs/Event/rtkokyu_event_export.h index efdbe7aed65..9d56447dabd 100644 --- a/TAO/orbsvcs/orbsvcs/Event/rtkokyu_event_export.h +++ b/TAO/orbsvcs/orbsvcs/Event/rtkokyu_event_export.h @@ -9,9 +9,15 @@ #include "ace/config-all.h" -#if !defined (TAO_RTKOKYUEVENT_HAS_DLL) -# define TAO_RTKOKYUEVENT_HAS_DLL 1 -#endif /* ! TAO_RTKOKYUEVENT_HAS_DLL */ +#if defined (TAO_AS_STATIC_LIBS) +# if !defined (TAO_RTKOKYUEVENT_HAS_DLL) +# define TAO_RTKOKYUEVENT_HAS_DLL 0 +# endif /* ! TAO_RTEVENT_HAS_DLL */ +#else +# if !defined (TAO_RTKOKYUEVENT_HAS_DLL) +# define TAO_RTKOKYUEVENT_HAS_DLL 1 +# endif /* ! TAO_RTKOKYUEVENT_HAS_DLL */ +#endif #if defined (TAO_RTKOKYUEVENT_HAS_DLL) && (TAO_RTKOKYUEVENT_HAS_DLL == 1) # if defined (TAO_RTKOKYUEVENT_BUILD_DLL) |