From: Gerald Pfeifer Date: Mon, 25 Jun 2018 22:29:55 +0000 (+0000) Subject: stddef.h: Remove an obsolete comment on FreeBSD 5. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0402566feb73dc72214c8ad802a2718ecb05072d;p=gcc.git stddef.h: Remove an obsolete comment on FreeBSD 5. * ginclude/stddef.h: Remove an obsolete comment on FreeBSD 5. Simplify logic for FreeBSD (twice). From-SVN: r262121 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dedbffd651f..f74b2ecaa4d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-06-26 Gerald Pfeifer + + * ginclude/stddef.h: Remove an obsolete comment on FreeBSD 5. + Simplify logic for FreeBSD (twice). + 2018-06-25 Martin Sebor PR tree-optimization/86204 diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index 8d5a73ab501..cea220cc301 100644 --- a/gcc/ginclude/stddef.h +++ b/gcc/ginclude/stddef.h @@ -49,8 +49,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #if defined(__NetBSD__) #include #endif -/* On FreeBSD 5, machine/ansi.h does not exist anymore... */ -#if defined (__FreeBSD__) && (__FreeBSD__ >= 5) + +#if defined (__FreeBSD__) #include #endif @@ -194,7 +194,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t; #define ___int_size_t_h #define _GCC_SIZE_T #define _SIZET_ -#if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \ +#if defined (__FreeBSD__) \ || defined(__DragonFly__) \ || defined(__FreeBSD_kernel__) \ || defined(__VMS__)