diff Python/importdl.c @ 2793:b8937e74fdf5 legacy-trunk

Porting to CW CFM68K
author Jack Jansen <jack.jansen@cwi.nl>
date Tue, 27 Jun 1995 13:15:15 +0000
parents dc64df7f1ad6
children 8d92a3bb9c1f
line wrap: on
line diff
--- a/Python/importdl.c	Tue Jun 27 13:12:09 1995 +0000
+++ b/Python/importdl.c	Tue Jun 27 13:15:15 1995 +0000
@@ -151,7 +151,7 @@
 
 #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
@@ -268,7 +268,10 @@
 		
 		/* 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);