mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 17:10:48 +00:00
gc tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28050 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c2bfae873f
commit
38980826a4
1 changed files with 12 additions and 3 deletions
|
@ -822,10 +822,19 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
|
|||
{
|
||||
if (self == [NSObject class])
|
||||
{
|
||||
#if GS_WITH_GC
|
||||
/* Make sure that the garbage collection library is initialised.
|
||||
* This is not necessary on most platforms, but is good practice.
|
||||
*/
|
||||
GC_init();
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
// See libgnustep-base-entry.m
|
||||
extern void gnustep_base_socket_init(void);
|
||||
gnustep_base_socket_init();
|
||||
{
|
||||
// See libgnustep-base-entry.m
|
||||
extern void gnustep_base_socket_init(void);
|
||||
gnustep_base_socket_init();
|
||||
}
|
||||
#else /* __MINGW32__ */
|
||||
|
||||
#ifdef SIGPIPE
|
||||
|
|
Loading…
Reference in a new issue