mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
mostly fixups for ICU
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31742 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c4fdcb6d93
commit
62de5b485f
13 changed files with 16749 additions and 2825 deletions
|
@ -95,7 +95,7 @@ NSString * const NSISO8601Calendar = @"";
|
|||
# include <unicode/ucurr.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_ICU)
|
||||
#if GS_USE_ICU == 1
|
||||
//
|
||||
// ICU Component Keywords
|
||||
//
|
||||
|
@ -601,7 +601,7 @@ static NSRecursiveLock *classLock = nil;
|
|||
[classLock lock];
|
||||
if (nil == systemLocale)
|
||||
{
|
||||
#if defined(HAVE_ICU)
|
||||
#if GS_USE_ICU == 1
|
||||
systemLocale = [[NSLocale alloc] initWithLocaleIdentifier: @""];
|
||||
#endif
|
||||
}
|
||||
|
@ -793,7 +793,7 @@ static NSRecursiveLock *classLock = nil;
|
|||
- (id) objectForKey: (id) key
|
||||
{
|
||||
id result = nil;
|
||||
#if defined(HAVE_ICU)
|
||||
#if GS_USE_ICU == 1
|
||||
if (key == NSLocaleIdentifier)
|
||||
return _localeId;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue