mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
aa3386a543
commit
cefde4f5c7
|
@ -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>
|
2007-02-04 Mike Stump <mrs@apple.com>
|
||||||
|
|
||||||
* mkheaders.in: Allow optional isysroot parameter.
|
* mkheaders.in: Allow optional isysroot parameter.
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
*
|
*
|
||||||
* DO NOT EDIT THIS FILE (fixincl.x)
|
* 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
|
* From the definitions inclhack.def
|
||||||
* and the template file fixincl
|
* 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.
|
* 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
|
* content selection pattern - do fix if pattern found
|
||||||
*/
|
*/
|
||||||
tSCC zGlibc_C99_Inline_4Select0[] =
|
tSCC zGlibc_C99_Inline_4Select0[] =
|
||||||
" extern ";
|
"(^| )extern ";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* content bypass pattern - skip fix if pattern found
|
* 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[] = {
|
static const char* apzGlibc_C99_Inline_4Patch[] = {
|
||||||
"format",
|
"format",
|
||||||
"\n\
|
"\n\
|
||||||
#if __STDC_VERSION__ < 19901L\n\
|
#if __STDC_VERSION__ < 199901L\n\
|
||||||
extern\n\
|
extern\n\
|
||||||
#endif\n",
|
#endif\n",
|
||||||
(char*)NULL };
|
(char*)NULL };
|
||||||
|
|
|
@ -1369,9 +1369,9 @@ fix = {
|
||||||
hackname = glibc_c99_inline_4;
|
hackname = glibc_c99_inline_4;
|
||||||
files = sys/sysmacros.h, '*/sys/sysmacros.h';
|
files = sys/sysmacros.h, '*/sys/sysmacros.h';
|
||||||
bypass = "__STDC_VERSION__";
|
bypass = "__STDC_VERSION__";
|
||||||
select = ' extern ';
|
select = '(^| )extern ';
|
||||||
c_fix = format;
|
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
|
test_text = <<-EOT
|
||||||
__extension__ extern __inline unsigned int
|
__extension__ extern __inline unsigned int
|
||||||
__extension__ __extern_inline unsigned int
|
__extension__ __extern_inline unsigned int
|
||||||
|
|
Loading…
Reference in New Issue