git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27830 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-02-10 12:49:06 +00:00
parent ec501bcde4
commit 0d75fb5f66
2 changed files with 10 additions and 9 deletions

View file

@ -4,6 +4,7 @@
as reported by Ly Liyi
* configure.ac: Check for new GC_allow_register_threads() function.
* Source/NSThread.m: Attempt to fix thread registration for GC.
* Source/NSObject.m: Initialise finalize on mingw as well as unix.
2009-02-09 Matt Rice <ratmice@gmail.com>

View file

@ -1081,12 +1081,7 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
// See libgnustep-base-entry.m
extern void gnustep_base_socket_init(void);
gnustep_base_socket_init();
#else
#if GS_WITH_GC
finalize_sel = @selector(finalize);
finalize_imp = get_imp(self, finalize_sel);
#endif
#else /* __MINGW32__ */
#ifdef SIGPIPE
/*
@ -1116,7 +1111,7 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
fprintf(stderr, "Unable to retrieve information about SIGPIPE\n");
}
}
#else
#else /* HAVE_SIGACTION */
{
void (*handler)(int);
@ -1126,8 +1121,13 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
signal(SIGPIPE, handler);
}
}
#endif
#endif
#endif /* HAVE_SIGACTION */
#endif /* SIGPIPE */
#endif /* __MINGW32__ */
#if GS_WITH_GC
finalize_sel = @selector(finalize);
finalize_imp = get_imp(self, finalize_sel);
#endif
#if defined(__FreeBSD__) && defined(__i386__)