mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
991f3cfbd4
commit
60ab41cfda
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>
|
2001-05-02 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||||
|
|
||||||
* Source/NSObject.m ([NSObject +initialize]): fixed a FreeBSD specific
|
* 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 void GSBuildStrings(); // See externs.m
|
||||||
extern const char* GSSetLocaleC(); // See GSLocale.m
|
extern const char* GSSetLocaleC(); // See GSLocale.m
|
||||||
|
|
||||||
GSSetLocaleC(""); // Set up locale from environment.
|
|
||||||
|
|
||||||
#ifdef __MINGW__
|
#ifdef __MINGW__
|
||||||
// See libgnustep-base-entry.m
|
// See libgnustep-base-entry.m
|
||||||
extern void gnustep_base_socket_init();
|
extern void gnustep_base_socket_init();
|
||||||
|
@ -594,6 +592,8 @@ static BOOL double_release_check_enabled = NO;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
GSSetLocaleC(""); // Set up locale from environment.
|
||||||
|
|
||||||
// Create the global lock
|
// Create the global lock
|
||||||
gnustep_global_lock = [[NSRecursiveLock alloc] init];
|
gnustep_global_lock = [[NSRecursiveLock alloc] init];
|
||||||
autorelease_class = [NSAutoreleasePool class];
|
autorelease_class = [NSAutoreleasePool class];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue