Add: [OSX] Native natural sort implementation.

This commit is contained in:
Michael Lutz
2018-09-23 19:26:09 +02:00
parent 05a93c121c
commit 8d7cd6a526
5 changed files with 101 additions and 0 deletions

View File

@@ -1791,6 +1791,11 @@ bool ReadLanguagePack(const LanguageMetadata *lang)
Win32SetCurrentLocaleName(_current_language->isocode);
#endif
#ifdef WITH_COCOA
extern void MacOSSetCurrentLocaleName(const char *iso_code);
MacOSSetCurrentLocaleName(_current_language->isocode);
#endif
#ifdef WITH_ICU_SORT
/* Delete previous collator. */
if (_current_collator != NULL) {