mirror of https://github.com/XEphem/XEphem.git
Remove startup code within #ifdef __APPLE__ (#47)
It was helpful once, but is now harmful and no longer needed.
This commit is contained in:
parent
8fb84dc758
commit
82796f75f8
|
|
@ -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)
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue