diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1992-12-02 22:40:00 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1992-12-02 22:40:00 -0800 |
commit | fd9287ae4de530946668088f98e8c04e940b29d3 (patch) | |
tree | 031c64af19103bc3c68fe3c451d0ad72405a410b | |
parent | 6102fe95277924b9ef054397540b61d5be408956 (diff) | |
download | gcc-fd9287ae4de530946668088f98e8c04e940b29d3.zip gcc-fd9287ae4de530946668088f98e8c04e940b29d3.tar.gz gcc-fd9287ae4de530946668088f98e8c04e940b29d3.tar.bz2 |
(sys/types.h): Check for [ \t]size_t not size_t.
From-SVN: r2830
-rwxr-xr-x | gcc/fixincludes | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes index 363af55..93d8b30 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -333,7 +333,8 @@ EOF fi fi -# Fix this file to avoid interfering with stddef.h. +# Fix this file to avoid interfering with stddef.h, but don't mistakenly +# match e.g. ssize_t present in AIX for the ps/2. file=sys/types.h if [ -r $file ] && [ ! -r ${LIB}/$file ]; then cp $file ${LIB}/$file >/dev/null 2>&1 || echo "Can't copy $file" @@ -343,7 +344,7 @@ fi if [ -r ${LIB}/$file ]; then echo Fixing $file ex ${LIB}/$file <<EOF - /typedef.*size_t.*;/ + /typedef.*[ ]size_t.*;/ i #ifndef _GCC_SIZE_T #define _GCC_SIZE_T |