]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* ginclude/stddef.h: Simplify conditions around avoiding
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jun 2018 21:32:40 +0000 (21:32 +0000)
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jun 2018 21:32:40 +0000 (21:32 +0000)
re-definition of __size_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261998 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ginclude/stddef.h

index 61df1473fcc887d5f1ac905b3b4f8db638fc215d..c40df21200b918ab35e0377b8fa4e658f115d378 100644 (file)
@@ -1,3 +1,8 @@
+2018-06-24  Maya Rashish  <coypu@sdf.org>
+
+       * ginclude/stddef.h: Simplify conditions around avoiding
+       re-definition of __size_t.
+
 2018-06-22  Jan Hubicka  <hubicka@ucw.cz>
 
        * lto-streamer-out.c (tree_is_indexable): Make LABEL_DECL nonindexable
index 15a99e7da48b8f2eb54d5aaf4b47b43aa8c6959e..8d5a73ab501431df0b7fb3eab56b00a65fd59f6c 100644 (file)
@@ -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