Get proper constant string class

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13104 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2002-03-13 16:49:56 +00:00
parent f12fed6759
commit 6472b4bbb8
3 changed files with 12 additions and 1 deletions

View file

@ -504,7 +504,7 @@ int main(int argc, char *argv[], char *env[])
/* This memcpy has to be done before the first message is sent to any
constant string object. See Apple Radar 2870817 */
memcpy(&_NSConstantStringClassReference,
objc_getClass("NSConstantString"),
objc_getClass(STRINGIFY(NXConstantString)),
sizeof(_NSConstantStringClassReference));
#endif