diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-04-12 07:53:43 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-04-12 07:53:43 +0000 |
commit | 30e4debd04af1f534ac33987aa5245ee212a6017 (patch) | |
tree | 1d4d38e108f6b8e6b810b83fa2f9b8b371d97c49 | |
parent | 65e00b73754e10571f2da3507fa88782a44be12c (diff) | |
download | ATCD-30e4debd04af1f534ac33987aa5245ee212a6017.tar.gz |
-rw-r--r-- | TAO/tao/ORBInitializer_Registry.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TAO/tao/ORBInitializer_Registry.cpp b/TAO/tao/ORBInitializer_Registry.cpp index b924864cc13..01e52ce3423 100644 --- a/TAO/tao/ORBInitializer_Registry.cpp +++ b/TAO/tao/ORBInitializer_Registry.cpp @@ -43,10 +43,16 @@ namespace PortableInterceptor } } +#if defined (ACE_VXWORKS) && defined (ACE_HAS_TSS_EMULATION) + bool const lookup = false; +#else + bool const lookup = true; +#endif + // If not, look it up. TAO::ORBInitializer_Registry_Adapter *orbinitializer_registry_ = ACE_Dynamic_Service<TAO::ORBInitializer_Registry_Adapter>::instance - ("ORBInitializer_Registry", true); // only look in the local repo + ("ORBInitializer_Registry", lookup); // only look in the local repo #if !defined (TAO_AS_STATIC_LIBS) if (orbinitializer_registry_ == 0) |