From 82796f75f827ea9416f78c9d7414722b10d236f4 Mon Sep 17 00:00:00 2001 From: pidloop Date: Sun, 12 Dec 2021 21:43:45 -0700 Subject: [PATCH] Remove startup code within #ifdef __APPLE__ (#47) It was helpful once, but is now harmful and no longer needed. --- GUI/xephem/xephem.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/GUI/xephem/xephem.c b/GUI/xephem/xephem.c index 0c12376..389af56 100644 --- a/GUI/xephem/xephem.c +++ b/GUI/xephem/xephem.c @@ -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) */