[VMS/committed]: Do not define __size_t on VMS

Joseph S. Myers joseph@codesourcery.com
Fri Mar 9 17:22:00 GMT 2012


On Fri, 9 Mar 2012, Tristan Gingold wrote:

> as it is already defined and used by the system headers.
> 
> No regressions for x86_64-darwin after full bootstrap.
> 
> Tristan.
> 
> 2012-03-09  Tristan Gingold  <gingold@adacore.com>
> 
> 	* ginclude/stddef.h: Do not define __size_t on VMS.

Sorry, this patch is wrong.  The identifier "VMS" is in the user's 
namespace and users on non-VMS platforms must be able to define it as a 
macro without affecting how stddef.h behaves.  Please change this to test 
a macro in the implementation namespace instead.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list