inclhack.def (sunos_matherr_decl): Bypass matherr declarations that use `__MATH_EXCEPTION' in their prototypes, too.

* fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
	declarations that use `__MATH_EXCEPTION' in their prototypes, too.
	* fixinc/fixincl.x: Regenerated.

From-SVN: r37402
This commit is contained in:
Mark Mitchell 2000-11-12 04:16:07 +00:00 committed by Mark Mitchell
parent 56a77e1e84
commit 995c461cce
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com>
* fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
declarations that use `__MATH_EXCEPTION' in their prototypes, too.
* fixinc/fixincl.x: Regenerated.
2000-11-11 Bruce Korb <bkorb@gnu.org>
* fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif

View File

@ -4021,7 +4021,7 @@ tSCC zSunos_Matherr_DeclSelect0[] =
* content bypass pattern - skip fix if pattern found
*/
tSCC zSunos_Matherr_DeclBypass0[] =
"matherr.*struct exception";
"matherr.*(struct exception|__MATH_EXCEPTION)";
#define SUNOS_MATHERR_DECL_TEST_CT 2
static tTestDesc aSunos_Matherr_DeclTests[] = {

View File

@ -2201,7 +2201,7 @@ fix = {
files = math.h;
/* If matherr has a prototype already, the header needs no fix. */
bypass = 'matherr.*struct exception';
bypass = 'matherr.*(struct exception|__MATH_EXCEPTION)';
select = matherr;
c_fix = wrap;