summaryrefslogtreecommitdiff
path: root/fixincludes/inclhack.def
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-05 21:22:48 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-05 21:22:48 +0000
commita4cef59cb62962ad633f7df74799290111ce4e32 (patch)
tree0895fc74d78a872f2cb6a6ce37a6779de71b4841 /fixincludes/inclhack.def
parenta0faeb5b3e62448dd400d050db8b19b57d0007c6 (diff)
downloadgcc-a4cef59cb62962ad633f7df74799290111ce4e32.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121614 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r--fixincludes/inclhack.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index 24dc087f93b..e47d7bdcd15 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -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