diff options
author | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-11-02 17:41:07 +0000 |
---|---|---|
committer | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-11-02 17:41:07 +0000 |
commit | 42047e7082dfdb3e91a01c422b423831060a9b13 (patch) | |
tree | c74f9591598726461b4a703c72aa0dccbbf5dc3e /TAO/orbsvcs/Transport_Current/Transport_Current.h | |
parent | b5738783687df2ecc211f1fefeb8e63ce5fd78bc (diff) | |
download | ATCD-doc-transport-current.tar.gz |
Fixing a patch gone doubly wrongdoc-transport-current
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 */ + |