summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-24 15:08:18 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-24 15:08:18 (GMT)
commitb33aa1a51e1a7a204c5ad41f812d02f249aa56eb (patch)
tree9a268202fb0092e033dc4077350021a88e27222d /Python/import.c
parent095249fc8c972d95db304b29c52d9861d232f2cb (diff)
downloadcpython-b33aa1a51e1a7a204c5ad41f812d02f249aa56eb.zip
cpython-b33aa1a51e1a7a204c5ad41f812d02f249aa56eb.tar.gz
cpython-b33aa1a51e1a7a204c5ad41f812d02f249aa56eb.tar.bz2
Jack Jansen: The new version of the GUSI i/o library on the Macintosh
has a few slightly different calls from the old one.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index 88908a9..5340054 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -1087,7 +1087,7 @@ check_case(char *buf, int len, int namelen, char *name)
#ifdef macintosh
#include <TextUtils.h>
-#ifdef USE_GUSI
+#ifdef USE_GUSI1
#include "TFileSpec.h" /* for Path2FSSpec() */
#endif
static int
@@ -1095,7 +1095,7 @@ check_case(char *buf, int len, int namelen, char *name)
{
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