mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
portability fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9763 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
74bc9102af
commit
df02b63f80
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2001-05-03 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSObject: ([+initialize]) Move GSSetLocale() after platform
|
||||
specific code with conditionally compiled variable declarations.
|
||||
Should make this work on BSD and MINGW again.
|
||||
|
||||
2001-05-02 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||
|
||||
* Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
|
||||
|
|
|
@ -573,8 +573,6 @@ static BOOL double_release_check_enabled = NO;
|
|||
extern void GSBuildStrings(); // See externs.m
|
||||
extern const char* GSSetLocaleC(); // See GSLocale.m
|
||||
|
||||
GSSetLocaleC(""); // Set up locale from environment.
|
||||
|
||||
#ifdef __MINGW__
|
||||
// See libgnustep-base-entry.m
|
||||
extern void gnustep_base_socket_init();
|
||||
|
@ -594,6 +592,8 @@ static BOOL double_release_check_enabled = NO;
|
|||
}
|
||||
#endif
|
||||
|
||||
GSSetLocaleC(""); // Set up locale from environment.
|
||||
|
||||
// Create the global lock
|
||||
gnustep_global_lock = [[NSRecursiveLock alloc] init];
|
||||
autorelease_class = [NSAutoreleasePool class];
|
||||
|
|
Loading…
Reference in a new issue