This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] fix include files to support non-GNU compilers
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Mikulas Patocka <mpatocka at redhat dot com>
- Cc: Richard Henderson <rth at twiddle dot net>, <libc-alpha at sourceware dot org>
- Date: Mon, 1 Sep 2014 16:48:36 +0000
- Subject: Re: [PATCH] fix include files to support non-GNU compilers
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LRH dot 2 dot 02 dot 1408311629460 dot 27738 at file01 dot intranet dot prod dot int dot rdu2 dot redhat dot com>
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