diff options
author | Richard Stallman <rms@gnu.org> | 1993-05-24 06:09:38 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-05-24 06:09:38 +0000 |
commit | e38ba83aeb026e8e8873f25dd44440f6114e73fa (patch) | |
tree | ea0c8b4b059fc917db22ed70ac391a39f99d7a1c | |
parent | 7d87fa2f026cd298a0345f00cd7430e45ba84409 (diff) | |
download | gcc-e38ba83aeb026e8e8873f25dd44440f6114e73fa.zip gcc-e38ba83aeb026e8e8873f25dd44440f6114e73fa.tar.gz gcc-e38ba83aeb026e8e8873f25dd44440f6114e73fa.tar.bz2 |
(size_t) [__GNUG__]: Don't typedef it if it's already defined as a macro.
From-SVN: r4549
-rw-r--r-- | gcc/ginclude/stddef.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index b15cfc1..5ad0ef2 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -121,7 +121,9 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t; #ifndef __SIZE_TYPE__ #define __SIZE_TYPE__ long unsigned int #endif +#if !(defined (__GNUG__) && defined (size_t)) typedef __SIZE_TYPE__ size_t; +#endif /* !(defined (__GNUG__) && defined (size_t)) */ #endif /* _SIZET_ */ #endif /* _GCC_SIZE_T */ #endif /* ___int_size_t_h */ |