get rid of unnecessary libunicode dependencies in some more places

Dmitry Timoshkov dmitry at
Tue Feb 15 18:46:53 CST 2005

"Mike McCormack" <mike at> wrote:

> Thomas Weidenmueller wrote:
> > -    sz = strlenW(fmt) + 1;
> > +    sz = wcslen(fmt) + 1;
> libc and wine may have differing interpretations of what wchar_t. 
> Specifically, if -fshort-wchar is not used, wchar_t will be int, won't it?
> You'd be better off using lstrlenW() than wcslen(), but that will be 
> slow since it has an exception handler.  Alexandre was talking about 
> making an inline wine only version of lstrlenW() without the exception 
> handler to solve that problem.

Or even better make strlenW resolve to wcslen when compiling under ReactOS.


More information about the wine-devel mailing list