stddef.h: Do not define __size_t on VMS.
authorTristan Gingold <gingold@adacore.com>
Fri, 9 Mar 2012 13:03:58 +0000 (13:03 +0000)
committerTristan Gingold <gingold@gcc.gnu.org>
Fri, 9 Mar 2012 13:03:58 +0000 (13:03 +0000)
2012-03-09  Tristan Gingold  <gingold@adacore.com>

* ginclude/stddef.h: Do not define __size_t on VMS.

From-SVN: r185137

gcc/ChangeLog
gcc/ginclude/stddef.h

index 523132778048c7af95c0a33832d0b53272b53a3e..ff4c4a5c35c155c150100fd74274aa6b54551d17 100644 (file)
@@ -1,3 +1,7 @@
+2012-03-09  Tristan Gingold  <gingold@adacore.com>
+
+       * ginclude/stddef.h: Do not define __size_t on VMS.
+
 2012-03-09  Tristan Gingold  <gingold@adacore.com>
 
        * c-tree.h (c_default_pointer_mode): New variable.
index 8a03948ee78dc18da27377b19a41a73ac44d5c1f..ebe0190c20aa6cd7fdabbfd6e7c43cab9a0f0751 100644 (file)
@@ -203,6 +203,8 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
 #if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \
   || 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.  */
 #else
 #define __size_t
 #endif