mirror of
https://github.com/python/cpython.git
synced 2025-09-09 18:32:22 +00:00
Jack Jansen: The new version of the GUSI i/o library on the Macintosh
has a few slightly different calls from the old one.
This commit is contained in:
parent
095249fc8c
commit
b33aa1a51e
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue