summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-22 18:29:08 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-22 18:29:08 +0000
commit3d85fedcbd7703e501dd40b1074932b1e73bdf94 (patch)
tree529396b42eb73b7e06ea0ecc0daba32d83b1f550
parentf1adffe4616132f891369bbb9418b72954c9629a (diff)
downloadATCD-3d85fedcbd7703e501dd40b1074932b1e73bdf94.tar.gz
enable TAO_USE_EXCEPTIONS ifdef ACE_HAS_EXCEPTIONS.
-rw-r--r--TAO/tao/orbconf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/orbconf.h b/TAO/tao/orbconf.h
index c1a4efd5343..25ce0f7167b 100644
--- a/TAO/tao/orbconf.h
+++ b/TAO/tao/orbconf.h
@@ -186,10 +186,10 @@
// can also be set using the command line option -ORBCDRtradeoff
#define TAO_DEFAULT_CDR_MEMCPY_TRADEOFF 256
-// #define TAO_USE_EXCEPTIONS
-
+#if defined (ACE_HAS_EXCEPTIONS)
+# define TAO_USE_EXCEPTIONS
#if defined (TAO_USE_EXCEPTIONS) && !defined (ACE_HAS_EXCEPTIONS)
-#error "You can only use exceptions in TAO if ACE supports them"
+# error "tao/orbconf.h: You can only use exceptions in TAO if ACE supports them"
#endif /* TAO_USE_EXCEPTIONS */
// The CDR growing strategy is control by several parameters: