This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] fix include files to support non-GNU compilers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]