summaryrefslogtreecommitdiff
path: root/TAO/tao/TransportCurrent/Transport_Current.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/TransportCurrent/Transport_Current.h')
-rw-r--r--TAO/tao/TransportCurrent/Transport_Current.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/TAO/tao/TransportCurrent/Transport_Current.h b/TAO/tao/TransportCurrent/Transport_Current.h
new file mode 100644
index 00000000000..2d776e8d6b6
--- /dev/null
+++ b/TAO/tao/TransportCurrent/Transport_Current.h
@@ -0,0 +1,16 @@
+// -*- C++ -*-
+// $Id$
+
+
+#include "tao/TransportCurrent/TCC.h"
+#include "tao/TransportCurrent/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 */
+