diff options
Diffstat (limited to 'gcc/fixinc/inclhack.sh')
-rwxr-xr-x | gcc/fixinc/inclhack.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fixinc/inclhack.sh b/gcc/fixinc/inclhack.sh index d9ea8f90d0a..536b0a36273 100755 --- a/gcc/fixinc/inclhack.sh +++ b/gcc/fixinc/inclhack.sh @@ -1056,7 +1056,8 @@ extern "C" {\ then infile=${file} else infile=${DESTFILE} ; fi - sed -e 's/\([ ]*[ ](_|DES)IO[A-Z]*[ ]*(\)\([^,'\'']\),/\1'\''\2'\'',/' \ + sed -e 's/\([ ]*[ ]_IO[A-Z]*[ ]*(\)\([^,'\'']\),/\1'\''\2'\'',/' \ + -e 's/\([ ]*[ ]DESIO[A-Z]*[ ]*(\)\([^,'\'']\),/\1'\''\2'\'',/' \ -e '/#[ ]*define[ ]*[ ]_IO/s/'\''\([cgxtf]\)'\''/\1/g' \ -e '/#[ ]*define[ ]*[ ]DESIOC/s/'\''\([cdgx]\)'\''/\1/g' \ < $infile > ${DESTDIR}/fixinc.tmp |