kernelbase: Remove dead code.

__APPLE__ is never defined in the PE build.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-10-12 18:29:10 +02:00
parent ca03420142
commit e8beac105c
1 changed files with 0 additions and 3 deletions

View File

@ -5579,9 +5579,6 @@ INT WINAPI DECLSPEC_HOTPATCH MultiByteToWideChar( UINT codepage, DWORD flags, co
if (unix_cp == CP_UTF8) if (unix_cp == CP_UTF8)
{ {
ret = mbstowcs_utf8( flags, src, srclen, dst, dstlen ); 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; break;
} }
codepage = unix_cp; codepage = unix_cp;