1 |
/* An abstract string datatype. |
/* An abstract string datatype. |
2 |
Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc. |
3 |
Contributed by Mark Mitchell (mark@markmitchell.com). |
Contributed by Mark Mitchell (mark@markmitchell.com). |
4 |
|
|
5 |
This file is part of GNU CC. |
This file is part of GNU CC. |
9 |
the Free Software Foundation; either version 2, or (at your option) |
the Free Software Foundation; either version 2, or (at your option) |
10 |
any later version. |
any later version. |
11 |
|
|
12 |
|
In addition to the permissions in the GNU General Public License, the |
13 |
|
Free Software Foundation gives you unlimited permission to link the |
14 |
|
compiled version of this file into combinations with other programs, |
15 |
|
and to distribute those combinations without any restriction coming |
16 |
|
from the use of this file. (The General Public License restrictions |
17 |
|
do apply in other respects; for example, they cover modification of |
18 |
|
the file, and distribution when not linked into a combined |
19 |
|
executable.) |
20 |
|
|
21 |
GNU CC is distributed in the hope that it will be useful, |
GNU CC is distributed in the hope that it will be useful, |
22 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
23 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
50 |
abort if an allocation fails. Instead, percolate an error code up |
abort if an allocation fails. Instead, percolate an error code up |
51 |
through the call chain. */ |
through the call chain. */ |
52 |
|
|
53 |
#ifdef IN_LIBGCC2 |
#if defined(IN_LIBGCC2) || defined(IN_GLIBCPP_V3) |
54 |
#define RETURN_ON_ALLOCATION_FAILURE |
#define RETURN_ON_ALLOCATION_FAILURE |
55 |
#endif |
#endif |
56 |
|
|