summaryrefslogtreecommitdiff
path: root/ace/config-hpux-10.x-hpc++.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1999-04-23 00:48:12 +0000
committerSteve Huston <shuston@riverace.com>1999-04-23 00:48:12 +0000
commit5c0dc192f1a4d3b02f1ac3ffa8c0a490540228a9 (patch)
tree63dc5149a3b6f27e245ec2ddf20734cfc8575d60 /ace/config-hpux-10.x-hpc++.h
parent458f76a72a231417e776ed6a20f932a50436d2e2 (diff)
downloadATCD-5c0dc192f1a4d3b02f1ac3ffa8c0a490540228a9.tar.gz
Fixed specification of what gets thrown at failed 'new' for HP aC++.
Diffstat (limited to 'ace/config-hpux-10.x-hpc++.h')
-rw-r--r--ace/config-hpux-10.x-hpc++.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/config-hpux-10.x-hpc++.h b/ace/config-hpux-10.x-hpc++.h
index 8653b39c4d0..11c525d72bd 100644
--- a/ace/config-hpux-10.x-hpc++.h
+++ b/ace/config-hpux-10.x-hpc++.h
@@ -81,6 +81,9 @@
// Compiler supports template specialization.
# define ACE_HAS_TEMPLATE_SPECIALIZATION
+// Compiler's runtime new throws bad_alloc on out-of-memory condition.
+# define ACE_NEW_THROWS_EXCEPTIONS
+
#endif /* __cplusplus < 199707L */
// Compiler supports the ssize_t typedef.