diff options
Diffstat (limited to 'TAO/orbsvcs/Transport_Current/Transport_Current.h')
-rw-r--r-- | TAO/orbsvcs/Transport_Current/Transport_Current.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/TAO/orbsvcs/Transport_Current/Transport_Current.h b/TAO/orbsvcs/Transport_Current/Transport_Current.h index 0ed49c895d8..93a8003be5a 100644 --- a/TAO/orbsvcs/Transport_Current/Transport_Current.h +++ b/TAO/orbsvcs/Transport_Current/Transport_Current.h @@ -30,3 +30,19 @@ static int tao_transport_current_initializer_called = #endif /* TAO_AS_STATIC_LIBS */ +// -*- C++ -*- +// $Id$ + + +#include "orbsvcs/Transport_Current/TCC.h" +#include "orbsvcs/Transport_Current/Current_Loader.h" + +#if defined (TAO_AS_STATIC_LIBS) + +// Only do this for static builds. It causes a circular dependency for +// dynamic builds. +static int tao_transport_current_initializer_called = + TAO::Transport::current_static_initializer (); + +#endif /* TAO_AS_STATIC_LIBS */ + |