On Wed, Nov 27, 2019 at 04:01:16PM +0000, Ramsay Jones wrote: > On 27/11/2019 02:06, Luc Van Oostenryck wrote: > > Without more testing, the specific types for wint_t & int64_t > > on FreeBSD & Darwin are only valid for i386/x86-64. > > > > Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> > > --- > > target.c | 14 +++++++------- > > 1 file changed, 7 insertions(+), 7 deletions(-) > > > > diff --git a/target.c b/target.c > > index acafbd929..647817a22 100644 > > --- a/target.c > > +++ b/target.c > > @@ -83,6 +83,13 @@ void init_target(void) > > wchar_ctype = &long_ctype; > > /* fall through */ > > case MACH_X86_64: > > +#if defined(__APPLE__) > > + int64_ctype = &llong_ctype; > > + uint64_ctype = &ullong_ctype; > > +#endif > > +#if defined(__FreeBSD__) || defined(__APPLE__) > > + wint_ctype = &int_ctype; > > +#endif > > Heh, OK, question answered! ;-) Anyway, I would like to move all this in some arch-specific files. Not for soon, though. Best regards, -- Luc