diff options
Diffstat (limited to 'TAO/tao/TAO_Internal.cpp')
-rw-r--r-- | TAO/tao/TAO_Internal.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/tao/TAO_Internal.cpp b/TAO/tao/TAO_Internal.cpp index 12d5e90c231..f8c9fa6b402 100644 --- a/TAO/tao/TAO_Internal.cpp +++ b/TAO/tao/TAO_Internal.cpp @@ -1,5 +1,6 @@ // $Id$ + #include "tao/TAO_Internal.h" #include "ace/Service_Config.h" #include "ace/Service_Repository.h" @@ -10,8 +11,10 @@ #include "tao/IIOP_Factory.h" #include "tao/UIOP_Factory.h" + ACE_RCSID(tao, TAO_Internal, "$Id$") + int TAO_Internal::service_open_count_ = 0; #if defined (TAO_PLATFORM_SVC_CONF_FILE_NOTSUP) const char *TAO_Internal::resource_factory_args_ = TAO_DEFAULT_RESOURCE_FACTORY_ARGS; @@ -64,10 +67,10 @@ TAO_Internal::open_services (int &argc, // name of the shared library that implements the protocol. ACE_Service_Config::static_svcs ()-> insert (&ace_svc_desc_TAO_IIOP_Protocol_Factory); -#if defined (TAO_HAS_UIOP) +#if TAO_HAS_UIOP == 1 ACE_Service_Config::static_svcs ()-> insert (&ace_svc_desc_TAO_UIOP_Protocol_Factory); -#endif /* TAO_HAS_UIOP */ +#endif /* TAO_HAS_UIOP == 1 */ // add descriptor to list of static objects. int result = 0; |