mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Apple constant string updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13097 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2f4791fdaf
commit
1199f0d2c1
5 changed files with 32 additions and 16 deletions
|
@ -500,6 +500,14 @@ _gnu_noobjc_free_vars(void)
|
|||
#undef main
|
||||
int main(int argc, char *argv[], char *env[])
|
||||
{
|
||||
#ifdef NeXT_RUNTIME
|
||||
/* 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"),
|
||||
sizeof(_NSConstantStringClassReference));
|
||||
#endif
|
||||
|
||||
#if defined(__MINGW__)
|
||||
WSADATA lpWSAData;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue