From: Guido van Rossum Date: Thu, 19 Jan 1995 00:03:47 +0000 (+0000) Subject: ported to THINK C (not tested yet) X-Git-Tag: v1.2b3~150 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a42960cd0948222ad6e2e08a427a8324a54c64fd;p=thirdparty%2FPython%2Fcpython.git ported to THINK C (not tested yet) --- diff --git a/Mac/Compat/nfullpath.c b/Mac/Compat/nfullpath.c index 6e7e1b64cd2e..94ccc4c4019f 100644 --- a/Mac/Compat/nfullpath.c +++ b/Mac/Compat/nfullpath.c @@ -3,12 +3,9 @@ ** (and only tested under MetroWerks, so far) */ -#if defined(MPW) || defined(__MWERKS__) +#include + #include -#endif -#ifdef THINK_C_PRE_5_0 -#include -#endif #include "nfullpath.h" diff --git a/Mac/Compat/nfullpath.h b/Mac/Compat/nfullpath.h index 770777d6dcf6..65ae5f37409f 100644 --- a/Mac/Compat/nfullpath.h +++ b/Mac/Compat/nfullpath.h @@ -1 +1 @@ -int nfullpath(FSSpec *, char *); /* Generate full path from fsspec */ \ No newline at end of file +int nfullpath(FSSpec *, char *); /* Generate full path from fsspec */ diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index b0a37974a1ab..014ff6bfca5a 100644 --- a/Mac/Modules/macfsmodule.c +++ b/Mac/Modules/macfsmodule.c @@ -32,6 +32,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "nfullpath.h" +#ifdef THINK_C +#define FileFilterUPP FileFilterProcPtr +#endif + static object *ErrorObject; /* ----------------------------------------------------- */