This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 2/2] Simplify: combine cases for dfly+fbsd with vms.
- From: coypu at sdf dot org
- To: gcc-patches at gcc dot gnu dot org
- Cc: coypu at sdf dot org
- Date: Sun, 4 Feb 2018 07:41:16 +0000
- Subject: [PATCH 2/2] Simplify: combine cases for dfly+fbsd with vms.
- Authentication-results: sourceware.org; auth=none
- References: <20180204073846.GA17915@SDF.ORG>
No need to have VMS in a separate elif case and a separate comment
for it saying the same thing.
No functional change intended.
---
gcc/ginclude/stddef.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
index 15a99e7da..8d5a73ab5 100644
--- a/gcc/ginclude/stddef.h
+++ b/gcc/ginclude/stddef.h
@@ -196,10 +196,9 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
#define _SIZET_
#if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \
|| defined(__DragonFly__) \
- || defined(__FreeBSD_kernel__)
-/* __size_t is a typedef on FreeBSD 5, must not trash it. */
-#elif defined (__VMS__)
-/* __size_t is also a typedef on VMS. */
+ || defined(__FreeBSD_kernel__) \
+ || defined(__VMS__)
+/* __size_t is a typedef, must not trash it. */
#else
#define __size_t
#endif
--
2.15.1