aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-03-09 13:03:58 +0000
committerTristan Gingold <gingold@gcc.gnu.org>2012-03-09 13:03:58 +0000
commitc8be95e6a4e32972ef9b844870d401b1c2aa4b40 (patch)
tree7b2e219a48763a28fba4b9c7a9d37f630ef41f34 /gcc/ginclude
parent412cd71971d07bde9c9f51cf4eba32a7f0df1175 (diff)
downloadgcc-c8be95e6a4e32972ef9b844870d401b1c2aa4b40.zip
gcc-c8be95e6a4e32972ef9b844870d401b1c2aa4b40.tar.gz
gcc-c8be95e6a4e32972ef9b844870d401b1c2aa4b40.tar.bz2
stddef.h: Do not define __size_t on VMS.
2012-03-09 Tristan Gingold <gingold@adacore.com> * ginclude/stddef.h: Do not define __size_t on VMS. From-SVN: r185137
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/stddef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
index 8a03948e..ebe0190 100644
--- a/gcc/ginclude/stddef.h
+++ b/gcc/ginclude/stddef.h
@@ -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