inclhack.def (glibc_c99_inline_4): Adjust selector to cope with older glibc.

2007-02-05  Richard Guenther  <rguenther@suse.de>

	* inclhack.def (glibc_c99_inline_4): Adjust selector to cope
	with older glibc.  Adjust version number for C99.
	* fixincl.x: Regenerated.

From-SVN: r121614
This commit is contained in:
Richard Guenther 2007-02-05 21:22:48 +00:00 committed by Richard Biener
parent aa3386a543
commit cefde4f5c7
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2007-02-05 Richard Guenther <rguenther@suse.de>
* inclhack.def (glibc_c99_inline_4): Adjust selector to cope
with older glibc. Adjust version number for C99.
* fixincl.x: Regenerated.
2007-02-04 Mike Stump <mrs@apple.com>
* mkheaders.in: Allow optional isysroot parameter.

View File

@ -2,11 +2,11 @@
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed Sunday February 4, 2007 at 07:08:33 AM PST
* It has been AutoGen-ed Monday February 5, 2007 at 05:33:02 PM CET
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT SVN-MERGE THIS FILE, EITHER Sun Feb 4 07:08:34 PST 2007
/* DO NOT SVN-MERGE THIS FILE, EITHER Mon Feb 5 17:33:02 CET 2007
*
* You must regenerate it. Use the ./genfixes script.
*
@ -2320,7 +2320,7 @@ tSCC zGlibc_C99_Inline_4List[] =
* content selection pattern - do fix if pattern found
*/
tSCC zGlibc_C99_Inline_4Select0[] =
" extern ";
"(^| )extern ";
/*
* content bypass pattern - skip fix if pattern found
@ -2339,7 +2339,7 @@ static tTestDesc aGlibc_C99_Inline_4Tests[] = {
static const char* apzGlibc_C99_Inline_4Patch[] = {
"format",
"\n\
#if __STDC_VERSION__ < 19901L\n\
#if __STDC_VERSION__ < 199901L\n\
extern\n\
#endif\n",
(char*)NULL };

View File

@ -1369,9 +1369,9 @@ fix = {
hackname = glibc_c99_inline_4;
files = sys/sysmacros.h, '*/sys/sysmacros.h';
bypass = "__STDC_VERSION__";
select = ' extern ';
select = '(^| )extern ';
c_fix = format;
c_fix_arg = "\n#if __STDC_VERSION__ < 19901L\nextern\n#endif\n";
c_fix_arg = "\n#if __STDC_VERSION__ < 199901L\nextern\n#endif\n";
test_text = <<-EOT
__extension__ extern __inline unsigned int
__extension__ __extern_inline unsigned int