Commit 56c534c5 by Robert Millan Committed by Gerald Pfeifer

stddef.h [...] (__size_t): Do not define.

	* ginclude/stddef.h [__FreeBSD_kernel__] (__size_t): Do not define.
	Tweak comment.

Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>

From-SVN: r184135
parent 9e0c351d
2012-01-29 Robert Millan <rmh@gnu.org>
Gerald Pfeifer <gerald@pfeifer.com>
* ginclude/stddef.h [__FreeBSD_kernel__] (__size_t): Do not define.
Tweak comment.
2012-02-11 Richard Sandiford <rdsandiford@googlemail.com>
PR rtl-optimization/52175
......
......@@ -200,8 +200,9 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
#define ___int_size_t_h
#define _GCC_SIZE_T
#define _SIZET_
#if defined (__FreeBSD__) && (__FreeBSD__ >= 5)
/* __size_t is a typedef on FreeBSD 5!, must not trash it. */
#if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \
|| defined(__FreeBSD_kernel__)
/* __size_t is a typedef on FreeBSD 5, must not trash it. */
#else
#define __size_t
#endif
......
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