diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-10-30 01:55:43 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-10-30 01:55:43 +0000 |
commit | 95405abb52f8fd4dc0398ceb6ce082611d01fda6 (patch) | |
tree | d841763e279e13b9cf9200561b3fbc1150551f18 /TAO/tao/TAO_Singleton_Manager.cpp | |
parent | c22e05230e122a619652c458584d41fe9c9e6ad5 (diff) | |
download | ATCD-95405abb52f8fd4dc0398ceb6ce082611d01fda6.tar.gz |
ChangeLogTag:Tue Oct 29 17:50:59 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/TAO_Singleton_Manager.cpp')
-rw-r--r-- | TAO/tao/TAO_Singleton_Manager.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/tao/TAO_Singleton_Manager.cpp b/TAO/tao/TAO_Singleton_Manager.cpp index 4dcf3af6751..120ab4d968a 100644 --- a/TAO/tao/TAO_Singleton_Manager.cpp +++ b/TAO/tao/TAO_Singleton_Manager.cpp @@ -252,7 +252,8 @@ TAO_Singleton_Manager::fini (void) // Restore the old unexpected exception handler since TAO will no // longer be handling exceptions. Allow the application to once // again handle unexpected exceptions. -# if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) \ +# if !defined (_MSC_VER) \ + && defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) \ && (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0) (void) std::set_unexpected (this->old_unexpected_); # else @@ -306,7 +307,8 @@ TAO_Singleton_Manager::_set_unexpected (TAO_unexpected_handler u) // transforms all unexpected exceptions to CORBA::UNKNOWN, which of // course requires the TypeCode constants and system exceptions to // have been initialized. -# if defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) \ +# if !defined (_MSC_VER) \ + && defined (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB) \ && (ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB != 0) this->old_unexpected_ = std::set_unexpected (u); # else |