[PATCH] fix include files to support non-GNU compilers
Joseph S. Myers
joseph@codesourcery.com
Mon Sep 1 16:48:00 GMT 2014
On Sun, 31 Aug 2014, Mikulas Patocka wrote:
> @@ -40,6 +42,8 @@
>
> #ifdef __WCHAR_MIN__
> # define __WCHAR_MIN __WCHAR_MIN__
> +#elif defined(__DECC)
> +# define __WCHAR_MAX (-__WCHAR_MAX - 1)
That seems wrong (defining __WCHAR_MAX in the section of code that should
be defining __WCHAR_MIN).
For the __align issue, you should use __glibc_align, as per the
__glibc_block precedent.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list