Subject: Re: mklocale, take 2
To: None <itojun@iijlab.net>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-userlevel
Date: 10/18/2001 09:40:51
From: itojun@iijlab.net
> >In runetype.h bring in inttypes.h and remove the reference to
> >machine/int_types.h. Also change the machine/ansi.h to sys/types.h and also
> >include wchar.h. This way most of the duplication for setting wint_t, size_t,
> >etc can be removed. Finally, change all __*int* ref's to the corresponding
> >inttypes.h standard ones.
> >
> >Except for sys/cdefs.h this code should compile anywhere now.
>
> to be sure i have to check standard, but IIRC the change should not be
> made. __*int* references, as well as these _BSD_*_T #defines, were
> made due to the inclusion file ordering issue.
>
> itojun
IIRC,
netbsd don't have that problem
since rune.h and runetype.h are not exposed to user.
(i.e. we don't have to support arbitrary inclusion order.)
---
YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp>