Mercurial > cpython-lru_cache-weakref
diff Python/import.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 | dc65c5f6ad7c |
| children | 84cd52b560e5 |
line wrap: on
line diff
--- a/Python/import.c Mon Apr 24 15:06:51 2000 +0000 +++ b/Python/import.c Mon Apr 24 15:08:18 2000 +0000 @@ -1087,7 +1087,7 @@ #ifdef macintosh #include <TextUtils.h> -#ifdef USE_GUSI +#ifdef USE_GUSI1 #include "TFileSpec.h" /* for Path2FSSpec() */ #endif static int @@ -1095,7 +1095,7 @@ { FSSpec fss; OSErr err; -#ifndef USE_GUSI +#ifndef USE_GUSI1 err = FSMakeFSSpec(0, 0, Pstring(buf), &fss); #else /* GUSI's Path2FSSpec() resolves all possible aliases nicely on
