Date: Wed, 19 Feb 2003 21:28:44 -0500 From: Craig Rodrigues <rodrigc@attbi.com> To: Mike Barcroft <mike@FreeBSD.org> Cc: freebsd-standards@FreeBSD.org, kan@FreeBSD.org Subject: Re: WCHAR_MIN and WCHAR_MAX not defined in <wchar.h> Message-ID: <20030220022844.GA69709@attbi.com> In-Reply-To: <20030219205726.G61431@espresso.bsdmike.org> References: <20030219223313.GA93707@attbi.com> <20030220112847.A36977@dilbert.robbins.dropbear.id.au> <20030219205726.G61431@espresso.bsdmike.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 19, 2003 at 08:57:26PM -0500, Mike Barcroft wrote: > Tim Robbins <tjr@FreeBSD.org> writes: > > I'll add a definition of WCHAR_MIN and WCHAR_MAX to <wchar.h> as soon as I > > can find a clean (non-polluting) way of doing it. > > Do we need a <machine/_limits.h> with underscored macro variants? Wait a minute. I was just stumbling around the header files and found this in <machine/_stdint.h> #ifndef WCHAR_MIN /* Also possibly defined in <wchar.h> */ /* Limits of wchar_t. */ #define WCHAR_MIN INT32_MIN #define WCHAR_MAX INT32_MAX /* Limits of wint_t. */ #define WINT_MIN INT32_MIN #define WINT_MAX INT32_MAX #endif Is this stuff in the correct place? Does it need to be duplicated in <wchar.h>? > Why the specification's authors couldn't keep all the limits in a single > header, I'll never know. I agree. -- Craig Rodrigues http://home.attbi.com/~rodrigc rodrigc@attbi.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030220022844.GA69709>