From: Richard Stallman Date: Mon, 24 May 1993 06:09:38 +0000 (+0000) Subject: (size_t) [__GNUG__]: Don't typedef it if it's already defined as a macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e38ba83aeb026e8e8873f25dd44440f6114e73fa;p=gcc.git (size_t) [__GNUG__]: Don't typedef it if it's already defined as a macro. From-SVN: r4549 --- diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index b15cfc199a6..5ad0ef22719 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 */