summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Lite_Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IIOP_Lite_Factory.cpp')
-rw-r--r--TAO/tao/IIOP_Lite_Factory.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/tao/IIOP_Lite_Factory.cpp b/TAO/tao/IIOP_Lite_Factory.cpp
index 5abca44ca67..57ddb594910 100644
--- a/TAO/tao/IIOP_Lite_Factory.cpp
+++ b/TAO/tao/IIOP_Lite_Factory.cpp
@@ -1,11 +1,12 @@
#include "tao/IIOP_Lite_Factory.h"
+
+#if defined (TAO_HAS_IIOP) && (TAO_HAS_IIOP != 0)
+
#include "tao/IIOP_Acceptor.h"
#include "tao/IIOP_Connector.h"
#include "tao/IOP_IORC.h"
-
#include "ace/OS_NS_strings.h"
-
ACE_RCSID (tao,
IIOP_Factory,
"$Id$")
@@ -98,3 +99,5 @@ ACE_STATIC_SVC_DEFINE (TAO_IIOP_Lite_Protocol_Factory,
0)
ACE_FACTORY_DEFINE (TAO, TAO_IIOP_Lite_Protocol_Factory)
+
+#endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */