Alexandre Julliard : kernelbase: Remove dead code.
Module: wine Branch: master Commit: e8beac105c9119fa109862e88c795cee1e8d27ab URL: https://source.winehq.org/git/wine.git/?a=commit;h=e8beac105c9119fa109862e88... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Oct 12 18:29:10 2021 +0200 kernelbase: Remove dead code. __APPLE__ is never defined in the PE build. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/kernelbase/locale.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/kernelbase/locale.c b/dlls/kernelbase/locale.c index 89b35775053..1c2f4dda221 100644 --- a/dlls/kernelbase/locale.c +++ b/dlls/kernelbase/locale.c @@ -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;
participants (1)
-
Alexandre Julliard