Fix linking problems under windows.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/libobjc/trunk@15941 72102866-910b-0410-8b05-ffd578937521
main
CaS 23 years ago
parent 4c604c6868
commit d42e6d908e

@ -1,3 +1,10 @@
Tue Feb 11 17:11:00 2003 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* init.c: Don't do the check to see if Object and NXConstantString
are set up before calling +load ... NXConstantString is never set
when we use gcc-3.0 and later in GNUstep ... which means that
+load would never be sent.
2001-05-01 Mark Mitchell <mark@codesourcery.com> 2001-05-01 Mark Mitchell <mark@codesourcery.com>
* fdl.texi: New file. * fdl.texi: New file.

@ -674,12 +674,14 @@ static void objc_send_load (void)
return; return;
} }
#if 0
/* Special check to allow creating and sending messages to constant strings /* Special check to allow creating and sending messages to constant strings
in +load methods. If these classes are not yet known, even if all the in +load methods. If these classes are not yet known, even if all the
other classes are known, delay sending of +load. */ other classes are known, delay sending of +load. */
if (!objc_lookup_class ("NXConstantString") || if (!objc_lookup_class ("NXConstantString") ||
!objc_lookup_class ("Object")) !objc_lookup_class ("Object"))
return; return;
#endif
/* Iterate over all modules in the __objc_module_list and call on them the /* Iterate over all modules in the __objc_module_list and call on them the
__objc_create_classes_tree function. This function creates a tree of __objc_create_classes_tree function. This function creates a tree of

Loading…
Cancel
Save