summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/cp/inc/new
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/cp/inc/new')
-rw-r--r--contrib/gcc/cp/inc/new6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/gcc/cp/inc/new b/contrib/gcc/cp/inc/new
index 0f25a5c..b66673d 100644
--- a/contrib/gcc/cp/inc/new
+++ b/contrib/gcc/cp/inc/new
@@ -1,5 +1,5 @@
// The -*- C++ -*- dynamic memory management header.
-// Copyright (C) 1994, 1996 Free Software Foundation
+// Copyright (C) 1994, 96-97, 1998 Free Software Foundation
#ifndef __NEW__
#define __NEW__
@@ -10,9 +10,7 @@
extern "C++" {
-#ifdef __HONOR_STD
namespace std {
-#endif
class bad_alloc : public exception {
public:
@@ -24,9 +22,7 @@ namespace std {
typedef void (*new_handler)();
new_handler set_new_handler (new_handler);
-#ifdef __HONOR_STD
} // namespace std
-#endif
// replaceable signatures
void *operator new (size_t) throw (std::bad_alloc);
OpenPOWER on IntegriCloud