ntdll: Delay NFC table loading on macOS.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48689
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-03-03 09:06:21 +01:00
parent 76606eaea0
commit 35c223850e
1 changed files with 5 additions and 7 deletions

View File

@ -799,13 +799,7 @@ void init_unix_codepage(void)
#else /* __APPLE__ || __ANDROID__ */
void init_unix_codepage(void)
{
#ifdef __APPLE__
const struct norm_table *info;
load_norm_table( NormalizationC, &info );
#endif
}
void init_unix_codepage(void) { }
#endif /* __APPLE__ || __ANDROID__ */
@ -909,6 +903,10 @@ void init_locale( HMODULE module )
user_lcid = unix_locale_to_lcid( setlocale( LC_MESSAGES, NULL ));
#ifdef __APPLE__
{
const struct norm_table *info;
load_norm_table( NormalizationC, &info );
}
if (!system_lcid)
{
char buffer[LOCALE_NAME_MAX_LENGTH];