From ac2bc44be9ea88cd3a76c0c282b74539718ec9b4 Mon Sep 17 00:00:00 2001 From: korbb Date: Fri, 12 Mar 2010 04:09:29 +0000 Subject: [PATCH] Restore the "#undef" in the test text, too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157400 138bc75d-0d04-0410-961f-82ee72b054a4 --- fixincludes/fixincl.x | 4 ++-- fixincludes/inclhack.def | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x index b1d095fbba2..59b4fda31fb 100644 --- a/fixincludes/fixincl.x +++ b/fixincludes/fixincl.x @@ -2,11 +2,11 @@ * * DO NOT EDIT THIS FILE (fixincl.x) * - * It has been AutoGen-ed March 11, 2010 at 07:56:32 PM by AutoGen 5.10.1 + * It has been AutoGen-ed March 11, 2010 at 08:08:36 PM by AutoGen 5.10.1 * From the definitions inclhack.def * and the template file fixincl */ -/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Mar 11 19:56:32 PST 2010 +/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Mar 11 20:08:36 PST 2010 * * You must regenerate it. Use the ./genfixes script. * diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def index 88d2eebe2a0..a759b4050be 100644 --- a/fixincludes/inclhack.def +++ b/fixincludes/inclhack.def @@ -3349,9 +3349,11 @@ fix = { "\t\t\t ? __builtin_signbitl(x) \\\n" "\t\t\t : __builtin_signbit(x))"; c_fix_arg = "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)"; - test_text = - '#ident "@(#)math_c99.h 1.9 04/11/01 SMI"'"\n" - "#define signbit(x) __builtin_signbit(x)"; + test_text = <<- _EOText_ + #ident "@(#)math_c99.h 1.9 04/11/01 SMI" + #undef signbit + #define signbit(x) __builtin_signbit(x); + _EOText_; }; fix = { -- 2.11.0