diff options
author | Guido van Rossum <guido@python.org> | 1995-01-19 00:03:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-19 00:03:47 (GMT) |
commit | a42960cd0948222ad6e2e08a427a8324a54c64fd (patch) | |
tree | 591c6cc31b9d6c766b1b79da2723c3a35fce6a0d | |
parent | 6a5df90918b47270659e9f75c63b87698e2499ff (diff) | |
download | cpython-a42960cd0948222ad6e2e08a427a8324a54c64fd.zip cpython-a42960cd0948222ad6e2e08a427a8324a54c64fd.tar.gz cpython-a42960cd0948222ad6e2e08a427a8324a54c64fd.tar.bz2 |
ported to THINK C (not tested yet)
-rw-r--r-- | Mac/Compat/nfullpath.c | 7 | ||||
-rw-r--r-- | Mac/Compat/nfullpath.h | 2 | ||||
-rw-r--r-- | Mac/Modules/macfsmodule.c | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/Mac/Compat/nfullpath.c b/Mac/Compat/nfullpath.c index 6e7e1b6..94ccc4c 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 <string.h> + #include <Files.h> -#endif -#ifdef THINK_C_PRE_5_0 -#include <HFS.h> -#endif #include "nfullpath.h" diff --git a/Mac/Compat/nfullpath.h b/Mac/Compat/nfullpath.h index 770777d..65ae5f3 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 b0a3797..014ff6b 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; /* ----------------------------------------------------- */ |