diff Python/importdl.c @ 3224:2fb398ab3e6a legacy-trunk

Added missing include for <Aliases.h>
author Jack Jansen <jack.jansen@cwi.nl>
date Mon, 23 Oct 1995 13:54:01 +0000
parents 8d92a3bb9c1f
children 49f7a4a1f0f6
line wrap: on
line diff
--- a/Python/importdl.c	Mon Oct 23 13:52:52 1995 +0000
+++ b/Python/importdl.c	Mon Oct 23 13:54:01 1995 +0000
@@ -150,6 +150,7 @@
 #endif
 
 #ifdef USE_MAC_DYNAMIC_LOADING
+#include <Aliases.h>
 #include <CodeFragments.h>
 #ifdef SYMANTEC__CFM68K__ /* Really just an older version of Universal Headers */
 #define CFragConnectionID ConnectionID
@@ -268,10 +269,7 @@
 		
 		/* 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);