On Sun, 27 Mar 2011 22:07:30 +0200
Stefan Farfeleder <ste...@fafoe.narf.at> wrote:

> On Mon, Mar 28, 2011 at 08:36:57AM +1300, Andrew Turner wrote:
> > Along with this WCHAR_MIN and WCHAR_MAX are defined both in
> > <wchar.h> and <machine/_stdint.h>. I would like to remove the copy
> > from wchar.h and add an include to machine/_stdint.h.
> > 
> > Would there be any problems with either of these or is there a
> > better place to put the __wchar_t typedef and define WCHAR_MIN and
> > WCHAR_MAX?
> 
> 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.

Andrew
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to