MacArthur, Ian (SELEX GALILEO, UK) wrote:
>> I wrote a small test program with MK's wcwidth.c contents + this:
> 
> Yup... I also wrote that program...

:-)

> I just replaced every use of wchar_t with int in wcwidth.c and all is
> well.

Same here with:

#ifdef WIN32
#define wchar_t unsigned
#endif

before:

#include "mk_wcwidth.c"

I know, a really bad hack, but something like that, or your solution
might work. [ replace unsigned with int, if you like ]

Of course, compiled with -DWIN32.

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to