summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/Transport_Current/IIOP_Transport_Current.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/Transport_Current/IIOP_Transport_Current.h')
-rw-r--r--TAO/orbsvcs/Transport_Current/IIOP_Transport_Current.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/TAO/orbsvcs/Transport_Current/IIOP_Transport_Current.h b/TAO/orbsvcs/Transport_Current/IIOP_Transport_Current.h
index bf6315ce6bc..bcade1176dd 100644
--- a/TAO/orbsvcs/Transport_Current/IIOP_Transport_Current.h
+++ b/TAO/orbsvcs/Transport_Current/IIOP_Transport_Current.h
@@ -32,3 +32,20 @@ static int tao_iiop_transport_current_initializer_called =
#endif /* TAO_AS_STATIC_LIBS */
+// -*- C++ -*-
+// $Id$
+
+
+#include "orbsvcs/Transport_Current/TCC.h"
+#include "orbsvcs/Transport_Current/TC_IIOPC.h"
+#include "orbsvcs/Transport_Current/IIOP_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_iiop_transport_current_initializer_called =
+ TAO::Transport::IIOP::current_static_initializer ();
+
+#endif /* TAO_AS_STATIC_LIBS */
+