Commit e8beac10 authored by Alexandre Julliard's avatar Alexandre Julliard

kernelbase: Remove dead code.

__APPLE__ is never defined in the PE build. Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent ca034201
......@@ -5579,9 +5579,6 @@ INT WINAPI DECLSPEC_HOTPATCH MultiByteToWideChar( UINT codepage, DWORD flags, co
if (unix_cp == CP_UTF8)
{
ret = mbstowcs_utf8( flags, src, srclen, dst, dstlen );
#ifdef __APPLE__ /* work around broken Mac OS X filesystem that enforces decomposed Unicode */
if (ret && dstlen) RtlNormalizeString( NormalizationC, dst, ret, dst, &ret );
#endif
break;
}
codepage = unix_cp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment