summaryrefslogtreecommitdiff
path: root/TAO/tao/UIOP_Factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/UIOP_Factory.cpp')
-rw-r--r--TAO/tao/UIOP_Factory.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/UIOP_Factory.cpp b/TAO/tao/UIOP_Factory.cpp
index f5fc3e5b583..09fc3875bed 100644
--- a/TAO/tao/UIOP_Factory.cpp
+++ b/TAO/tao/UIOP_Factory.cpp
@@ -3,7 +3,7 @@
#include "tao/UIOP_Factory.h"
-#if defined (TAO_HAS_UIOP)
+#if TAO_HAS_UIOP == 1
#include "tao/UIOP_Acceptor.h"
#include "tao/UIOP_Connector.h"
@@ -69,6 +69,7 @@ TAO_UIOP_Protocol_Factory::make_connector (void)
ACE_NEW_RETURN (connector,
TAO_UIOP_Connector,
0);
+
return connector;
}
@@ -89,4 +90,4 @@ ACE_STATIC_SVC_DEFINE (TAO_UIOP_Protocol_Factory,
ACE_FACTORY_DEFINE (TAO, TAO_UIOP_Protocol_Factory)
-#endif /* TAO_HAS_UIOP */
+#endif /* TAO_HAS_UIOP == 1 */