summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/try_macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/try_macros.h b/TAO/tao/try_macros.h
index 35bb00ba82e..1d9727f2c8a 100644
--- a/TAO/tao/try_macros.h
+++ b/TAO/tao/try_macros.h
@@ -49,11 +49,11 @@
// @@ @@ @@ This conditional compilation is meant to be catch abnormal
// exceptions so the debugger can catch the exception for us.
-#if !defined (ACE_NDEBUG)
+#if defined (TAO_DONT_CATCH_DOT_DOT_DOT)
#define TAO_CATCHANY TAO_CATCH (TAO_DONT_CATCH, ex)
#else
#define TAO_CATCHANY } catch (...) {
-#endif /* ACE_NDEBUG */
+#endif /* TAO_DONT_CATCH_DOT_DOT_DOT */
#define TAO_ENDTRY }} while (0)