Commit e38ba83a by Richard Stallman

(size_t) [__GNUG__]: Don't typedef it if it's already defined as a macro.

From-SVN: r4549
parent 7d87fa2f
...@@ -121,7 +121,9 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t; ...@@ -121,7 +121,9 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
#ifndef __SIZE_TYPE__ #ifndef __SIZE_TYPE__
#define __SIZE_TYPE__ long unsigned int #define __SIZE_TYPE__ long unsigned int
#endif #endif
#if !(defined (__GNUG__) && defined (size_t))
typedef __SIZE_TYPE__ size_t; typedef __SIZE_TYPE__ size_t;
#endif /* !(defined (__GNUG__) && defined (size_t)) */
#endif /* _SIZET_ */ #endif /* _SIZET_ */
#endif /* _GCC_SIZE_T */ #endif /* _GCC_SIZE_T */
#endif /* ___int_size_t_h */ #endif /* ___int_size_t_h */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment