Don't depend on global constructors for commands
This breaks when using ObjC, as these can run before the ObjC module is initialized, resulting in non-working message sends as the selectors are not registered yet. FossilOrigin-Name: 1ee33c99835abc029ac202afad1f9b3bf26028e55ea1c53c53416c7566ef749d
This commit is contained in:
parent
2fc4599331
commit
0bbe1c8bee
5 changed files with 73 additions and 8 deletions
|
@ -104,6 +104,8 @@ main(int argc, char **argv)
|
|||
char *sdesc = "", *ip = "", *master = NULL, *passwd = "";
|
||||
islittleendian = *((char *)&islittleendian);
|
||||
|
||||
processInitQueue();
|
||||
|
||||
#define log(s) conoutf("init: %s", s)
|
||||
log("sdl");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue