diff options
author | Guido van Rossum <guido@python.org> | 1994-08-29 08:42:37 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-08-29 08:42:37 (GMT) |
commit | 739267b7c34c0bdf934059804fde3f027e84bd0b (patch) | |
tree | 25dc06eae2dd9cf8b2bce19683e8d7a5b8ebbc08 /Mac/Python/macgetmtime.c | |
parent | e78344444086581bdf59f13415b0c701e740cce1 (diff) | |
download | cpython-739267b7c34c0bdf934059804fde3f027e84bd0b.zip cpython-739267b7c34c0bdf934059804fde3f027e84bd0b.tar.gz cpython-739267b7c34c0bdf934059804fde3f027e84bd0b.tar.bz2 |
Completed (hopefully) the unification of THINK 6.0 and MPW 3.2
versions -- they now share config.c and config.h, and statting is
always done through macstat.[ch] (THINK's <stat.h> defines funny
constants). Also the configuration of stdwin is done differently: you
have to define USE_STDWIN to the compiler prefix.
Diffstat (limited to 'Mac/Python/macgetmtime.c')
-rw-r--r-- | Mac/Python/macgetmtime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Python/macgetmtime.c b/Mac/Python/macgetmtime.c index 9ba8136..d4d15be 100644 --- a/Mac/Python/macgetmtime.c +++ b/Mac/Python/macgetmtime.c @@ -1,4 +1,4 @@ -#include <stat.h> +#include "macstat.h" /* Interfaced used by import.c */ @@ -6,8 +6,8 @@ long getmtime(path) char *path; { - struct stat st; - if (stat(path, &st) != 0) + struct macstat st; + if (macstat(path, &st) != 0) return -1L; return st.st_mtime; } |