get rid of unnecessary libunicode dependencies in some more places
mike at codeweavers.com
Tue Feb 15 18:22:48 CST 2005
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.
More information about the wine-devel