tchar fixes: _tcs{dup,icmp}
Francois Gouget
fgouget at free.fr
Tue Dec 24 14:43:52 CST 2002
On Tue, 24 Dec 2002, Dimitrie O. Paun wrote:
> On December 23, 2002 10:52 pm, Francois Gouget wrote:
> > Then the question is whether tchar.h should be considered to be a pure
> > msvcrt thing, i.e. don't use it if you don't link to msvcrt, or whether
> > we want to make is usable in Ansi mode with a regular C library.
>
> 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.
Solution 2 seems likely to cause directory include order headaches...
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
In a world without fences who needs Gates?
More information about the wine-devel
mailing list