stddef.h: Adjust previous patch.
authorTristan Gingold <gingold@adacore.com>
Mon, 12 Mar 2012 08:54:10 +0000 (08:54 +0000)
committerTristan Gingold <gingold@gcc.gnu.org>
Mon, 12 Mar 2012 08:54:10 +0000 (08:54 +0000)
2012-03-12  Tristan Gingold  <gingold@adacore.com>

* ginclude/stddef.h: Adjust previous patch.  Use __VMS__ instead
of VMS.

From-SVN: r185214

gcc/ChangeLog
gcc/ginclude/stddef.h

index 61b1644..cb0e2f1 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-12  Tristan Gingold  <gingold@adacore.com>
+
+       * ginclude/stddef.h: Adjust previous patch.  Use __VMS__ instead
+       of VMS.
+
 2012-03-12  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md (setcc + movzbl to xor + setcc peephole2):
index ebe0190..458c382 100644 (file)
@@ -203,7 +203,7 @@ 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)
+#elif defined (__VMS__)
 /* __size_t is also a typedef on VMS.  */
 #else
 #define __size_t