From b2071557ce50d95a030f899d27798ffd6e116e19 Mon Sep 17 00:00:00 2001 From: Bruce Korb <korbb@gcc.gnu.org> Date: Fri, 12 Mar 2010 04:09:29 +0000 Subject: [PATCH] Restore the "#undef" in the test text, too. From-SVN: r157400 --- 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 b1d095fbba27..59b4fda31fbd 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 88d2eebe2a07..a759b4050be1 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 = { -- GitLab