mingw block fixups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32540 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-03-13 09:38:37 +00:00
parent 2ef66ac0e0
commit 78a5959f3d
2 changed files with 4 additions and 23 deletions

View file

@ -808,19 +808,12 @@ GSGarbageCollectorLog(char *msg, GC_word arg)
* Semi-private function in libobjc2 that initialises the classes used for
* blocks.
*/
#ifndef __MINGW__
BOOL
objc_create_block_classes_as_subclasses_of(Class super) __attribute__((weak));
#endif
+ (void)load
+ (void) load
{
#ifndef __MINGW__
/* When NSObject is loaded, register it as the superclass of the block
* classes */
if (objc_create_block_classes_as_subclasses_of)
objc_create_block_classes_as_subclasses_of(self);
#endif
objc_create_block_classes_as_subclasses_of(self);
}
+ (void) initialize