#ifdef USE_MAC_DYNAMIC_LOADING
#include <CodeFragments.h>
-#ifdef __CFM68K__ /* Really just an older version of Universal Headers */
+#ifdef SYMANTEC__CFM68K__ /* Really just an older version of Universal Headers */
#define CFragConnectionID ConnectionID
#define kLoadCFrag 0x01
#endif
/* First resolve any aliases to find the real file */
(void)FSMakeFSSpec(0, 0, Pstring(pathname), &libspec);
+#if !(defined(__MWERKS__) && defined(__CFM68K__))
+ /* Bug: not in library */
err = ResolveAliasFile(&libspec, 1, &isfolder, &didsomething);
+#endif
if ( err ) {
sprintf(buf, "%s: %s", pathname, PyMac_StrError(err));
err_setstr(ImportError, buf);
fprintf(stderr,
"usage: %s [-d] [-i] [-s] [-u ] [-v] [-c cmd | file | -] [arg] ...\n",
argv[0]);
+#if !(defined(__CFM68K__) && defined(__MWERKS__))
+ /* Mwerks cfm68k linker doesn't like these... */
fprintf(stderr, "\
\n\
Options and arguments (and corresponding environment variables):\n\
PYTHONPATH : colon-separated list of directories prefixed to the\n\
default module search path. The result is sys.path.\n\
");
+#endif /* !cfm68k || !mwerks */
exit(2);
/*NOTREACHED*/