From c8be95e6a4e32972ef9b844870d401b1c2aa4b40 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 9 Mar 2012 13:03:58 +0000 Subject: [PATCH] stddef.h: Do not define __size_t on VMS. 2012-03-09 Tristan Gingold * ginclude/stddef.h: Do not define __size_t on VMS. From-SVN: r185137 --- gcc/ChangeLog | 4 ++++ gcc/ginclude/stddef.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5231327..ff4c4a5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2012-03-09 Tristan Gingold + * ginclude/stddef.h: Do not define __size_t on VMS. + +2012-03-09 Tristan Gingold + * c-tree.h (c_default_pointer_mode): New variable. * c-decl.c (c_default_pointer_mode): New variable. (c_build_pointer_type): New function. diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h index 8a03948..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 -- 2.7.4