summaryrefslogtreecommitdiff
path: root/TAO/tao/UIOP_Factory.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-07-29 00:02:25 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-07-29 00:02:25 +0000
commit5467d55051192127ad4d9c0f7b665fd27d004c4b (patch)
tree534dad7781d3c2e94c6a7e86de8094b73df56168 /TAO/tao/UIOP_Factory.cpp
parentfab3b817545b275cdedb941d4fbc06badd8caaab (diff)
downloadATCD-5467d55051192127ad4d9c0f7b665fd27d004c4b.tar.gz
By default, only compile support for UIOP when TAO_HAS_UIOP is
defined. This change will allow the user to explicitly compile in support for UIOP even if TAO_HAS_MINIMUM_CORBA is defined.
Diffstat (limited to 'TAO/tao/UIOP_Factory.cpp')
-rw-r--r--TAO/tao/UIOP_Factory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/UIOP_Factory.cpp b/TAO/tao/UIOP_Factory.cpp
index f1d5734740a..0422c0dfae4 100644
--- a/TAO/tao/UIOP_Factory.cpp
+++ b/TAO/tao/UIOP_Factory.cpp
@@ -3,7 +3,7 @@
#include "tao/UIOP_Factory.h"
-# if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS)
+#if defined (TAO_HAS_UIOP)
#include "tao/UIOP_Acceptor.h"
#include "tao/UIOP_Connector.h"
@@ -77,10 +77,10 @@ ACE_STATIC_SVC_DEFINE (TAO_UIOP_Protocol_Factory,
ACE_SVC_OBJ_T,
&ACE_SVC_NAME (TAO_UIOP_Protocol_Factory),
ACE_Service_Type::DELETE_THIS |
- ACE_Service_Type::DELETE_OBJ,
+ ACE_Service_Type::DELETE_OBJ,
0)
ACE_FACTORY_DEFINE (TAO, TAO_UIOP_Protocol_Factory)
-# endif /* !ACE_LACKS_UNIX_DOMAIN_SOCKETS */
+#endif /* TAO_HAS_UIOP */