diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-04-07 09:10:49 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-04-07 09:10:49 (GMT) |
commit | 2d1306b7cf4a85290ffbd90a15fed6115a522310 (patch) | |
tree | 01dc9d71385f7659ba36bd2b27f4ca2c3d3a1154 /Mac/Python/macimport.c | |
parent | 5c21420772a94846ce7dd077d10a2575da15e84e (diff) | |
download | cpython-2d1306b7cf4a85290ffbd90a15fed6115a522310.zip cpython-2d1306b7cf4a85290ffbd90a15fed6115a522310.tar.gz cpython-2d1306b7cf4a85290ffbd90a15fed6115a522310.tar.bz2 |
Started on GUSI2 and threading support.
Diffstat (limited to 'Mac/Python/macimport.c')
-rw-r--r-- | Mac/Python/macimport.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Python/macimport.c b/Mac/Python/macimport.c index e079d2e..2f5d622 100644 --- a/Mac/Python/macimport.c +++ b/Mac/Python/macimport.c @@ -48,7 +48,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #endif #include <CodeFragments.h> -#ifdef USE_GUSI +#ifdef USE_GUSI1 #include "TFileSpec.h" /* for Path2FSSpec() */ #endif @@ -104,7 +104,7 @@ findnamedresource( UseResFile(PyMac_AppRefNum); filerh = -1; } else { -#ifdef USE_GUSI +#ifdef USE_GUSI1 if ( Path2FSSpec(filename, &fss) != noErr || #else if ( FSMakeFSSpec(0, 0, Pstring(filename), &fss) != noErr || @@ -303,7 +303,7 @@ char *filename; UseResFile(PyMac_AppRefNum); filerh = -1; } else { -#ifdef USE_GUSI +#ifdef USE_GUSI1 if ( (err=Path2FSSpec(filename, &fss)) != noErr || FSpGetFInfo(&fss, &finfo) != noErr ) #else @@ -432,7 +432,7 @@ PyMac_FindModuleExtension(char *buf, int *lenp, char *module) #else strcpy(buf+*lenp, _PyImport_Filetab[0].suffix); #endif -#ifdef USE_GUSI +#ifdef USE_GUSI1 if ( Path2FSSpec(buf, &fss) == noErr && FSpGetFInfo(&fss, &finfo) == noErr) return _PyImport_Filetab; |