Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2011 09:29:39 +0200
From:      Stefan Farfeleder <stefan@fafoe.narf.at>
To:        Andrew Turner <andrew@fubar.geek.nz>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Unsigned wchar_t
Message-ID:  <20110329072939.GA2648@mole.fafoe.narf.at>
In-Reply-To: <20110328223319.4df096b2@fubar.geek.nz>
References:  <20110328083657.35507caf@fubar.geek.nz> <20110327200729.GD2651@mole.fafoe.narf.at> <20110328223319.4df096b2@fubar.geek.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 28, 2011 at 10:33:19PM +1300, Andrew Turner wrote:
> On Sun, 27 Mar 2011 22:07:30 +0200
> Stefan Farfeleder <stefan@fafoe.narf.at> wrote:
> 
> > The C standard specifies that both <wchar.h> and <stdint.h> shall
> > define WCHAR_MIN and WCHAR_MAX. You cannot simply include
> > <machine/_stdint.h> from <wchar.h> because the former contains a lot
> > of other macros.
> I thought that might be the case. I could create <machine/_wchar.h> for
> the defines unless there is a better place for them.

Yes, a new header would be a possibility.

Stefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110329072939.GA2648>