diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-12 01:06:04 +0000 |
---|---|---|
committer | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-12 01:06:04 +0000 |
commit | a40d9b7ccd3cae08eaf1592cf74d2eeab273bac1 (patch) | |
tree | e39b927e4e207c5206fee5879e91edcd0200d066 /gcc/ginclude/stddef.h | |
parent | faef37c8534077a4bd8600031df1b220930958f6 (diff) | |
download | gcc-a40d9b7ccd3cae08eaf1592cf74d2eeab273bac1.tar.gz |
* ginclude/stddef.h [__FreeBSD_kernel__] (__size_t): Do not define.
Tweak comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184135 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude/stddef.h')
-rw-r--r-- | gcc/ginclude/stddef.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index a78a7703387..8a03948ee78 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -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 |