diff Python/dynload_mac.c @ 12476:3500c4350f62 legacy-trunk

Jack Jansen: The new version of the GUSI i/o library on the Macintosh has a few slightly different calls from the old one.
author Guido van Rossum <guido@python.org>
date Mon, 24 Apr 2000 15:08:18 +0000
parents 6367d829f36b
children 916fb024ce94
line wrap: on
line diff
--- a/Python/dynload_mac.c	Mon Apr 24 15:06:51 2000 +0000
+++ b/Python/dynload_mac.c	Mon Apr 24 15:08:18 2000 +0000
@@ -40,7 +40,7 @@
 #define CFragConnectionID ConnectionID
 #define kLoadCFrag 0x01
 #endif
-#ifdef USE_GUSI
+#ifdef USE_GUSI1
 #include "TFileSpec.h"		/* for Path2FSSpec() */
 #endif
 #include <Files.h>
@@ -78,7 +78,7 @@
 	Ptr mainAddr;
 	Str255 errMessage;
 	OSErr err;
-#ifndef USE_GUSI
+#ifndef USE_GUSI1
 	Boolean isfolder, didsomething;
 #endif
 	char buf[512];
@@ -87,7 +87,7 @@
 	CFragSymbolClass class;
 		
 	/* First resolve any aliases to find the real file */
-#ifdef USE_GUSI
+#ifdef USE_GUSI1
 	err = Path2FSSpec(pathname, &libspec);
 #else
 	(void)FSMakeFSSpec(0, 0, Pstring(pathname), &libspec);