Remove startup code within #ifdef __APPLE__ (#47)

It was helpful once, but is now harmful and no longer needed.
This commit is contained in:
pidloop 2021-12-12 21:43:45 -07:00 committed by GitHub
parent 8fb84dc758
commit 82796f75f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 14 deletions

View File

@ -146,20 +146,6 @@ char *argv[];
/* check for -nosplash or nosplash file .. can't wait for resources */
splashOpen (&argc, argv, options, XtNumber(options));
#ifdef __APPLE__
/* hack around two-level namespace linker problem in libXt wrt libXm.
* first appeared in XFree86 4.2.0 build; should remain harmless in
* subsequent builds even if the problem is fixed.
*/
{
extern void *topLevelShellClassRec;
extern void *transientShellClassRec;
extern void *vendorShellClassRec;
topLevelShellClassRec = (void *) &vendorShellClassRec;
transientShellClassRec = (void *) &vendorShellClassRec;
}
#endif
/* check for alternate env before starting toolkit.
* (don't even ask why this is here)
*/