mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Hack to disable locales where not supported.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15573 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0b49439a6b
commit
8834609a23
3 changed files with 10 additions and 2 deletions
|
@ -438,7 +438,9 @@ static BOOL setSharedDefaults = NO; /* Flag to prevent infinite recursion */
|
|||
NSString *locale = nil;
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#ifdef LC_MESSAGES
|
||||
locale = GSSetLocale(LC_MESSAGES, nil);
|
||||
#endif
|
||||
#endif
|
||||
if (locale == nil)
|
||||
{
|
||||
|
@ -485,7 +487,9 @@ static BOOL setSharedDefaults = NO; /* Flag to prevent infinite recursion */
|
|||
NSString *locale = nil;
|
||||
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#ifdef LC_MESSAGES
|
||||
locale = GSSetLocale(LC_MESSAGES, nil);
|
||||
#endif
|
||||
#endif
|
||||
[classLock lock];
|
||||
if (userLanguages != nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue