tchar fixes: _tcs{dup,icmp}
Alexandre Julliard
julliard at winehq.com
Thu Jan 2 11:38:16 CST 2003
"Dimitrie O. Paun" <dpaun at rogers.com> writes:
> If using tchar.h forces you to link in msvcrt, it should be moved to
> include/msvcrt. Thing is that MinGW supports tchar.h it seems, so we
> can do one of two things:
> 1. Add conditionals in tchar.h as you suggested to do things differently
> depending on whether or not we link in msvcrt
> 2. Move the current tchar.h to include/msvcrt, and create a new one
> to support the MinGW/glibc case.
>
> Alexandre?
tchar.h should not depend on msvcrt IMO, at least not in ASCII mode,
so it should use the normal function names without underscores. It's
not 100% compatible, but it should still do the right thing, both with
and without msvcrt.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list