(stdlib.h): Check carefully for definition of size_t.

From-SVN: r4927
This commit is contained in:
Richard Stallman 1993-07-15 17:05:38 +00:00
parent 0c16ddf700
commit a3f6caa73f
1 changed files with 2 additions and 2 deletions

View File

@ -674,10 +674,10 @@ if [ -r ${LIB}/$file ]; then
-e 's/char \* malloc/void \* malloc/g' \
-e 's/char \* realloc/void \* realloc/g' \
-e 's/int exit/void exit/g' \
-e '/[ ]size_t[ ]*;/i\
-e '/typedef[ a-zA-Z_]*[ ]size_t[ ]*;/i\
#ifndef _GCC_SIZE_T\
#define _GCC_SIZE_T' \
-e '/[ ]size_t[ ]*;/a\
-e '/typedef[ a-zA-Z_]*[ ]size_t[ ]*;/a\
#endif' \
${LIB}/$file > ${LIB}/${file}.sed
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file