]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
ported to THINK C (not tested yet)
authorGuido van Rossum <guido@python.org>
Thu, 19 Jan 1995 00:03:47 +0000 (00:03 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 19 Jan 1995 00:03:47 +0000 (00:03 +0000)
Mac/Compat/nfullpath.c
Mac/Compat/nfullpath.h
Mac/Modules/macfsmodule.c

index 6e7e1b64cd2ebc7f6bfc4e3e53343573ca8d8d7f..94ccc4c4019f6af14af5e9ec2566010f1478322c 100644 (file)
@@ -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"
 
index 770777d6dcf63e04e0b301ed7fa586c7a84f0825..65ae5f37409fbd74f2af2874d626caefe47b2a1d 100644 (file)
@@ -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 */
index b0a37974a1abe12ed3587f7205402c37d3f5d3c6..014ff6bfca5a1c77d0a1d617eb5110d05b911bf9 100644 (file)
@@ -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;
 
 /* ----------------------------------------------------- */