mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
10829cf509
commit
dd9fbc55cd
3 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue