diff options
author | Guido van Rossum <guido@python.org> | 1998-04-28 16:05:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-28 16:05:59 (GMT) |
commit | f2044e1a71015843f5e07fb2b5faeb6228af96e1 (patch) | |
tree | 64a262b4b30ce2403280115a000466ac070ded50 /Objects/fileobject.c | |
parent | 92f01c54d4796f81bc9cb8fd1883fc5dfe176a26 (diff) | |
download | cpython-f2044e1a71015843f5e07fb2b5faeb6228af96e1.zip cpython-f2044e1a71015843f5e07fb2b5faeb6228af96e1.tar.gz cpython-f2044e1a71015843f5e07fb2b5faeb6228af96e1.tar.bz2 |
Enable ftruncate() on the Mac.
(Jack)
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r-- | Objects/fileobject.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index b744ab4..76f5318 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -44,6 +44,12 @@ PERFORMANCE OF THIS SOFTWARE. #define HAVE_FTRUNCATE #endif +#ifdef macintosh +#ifdef USE_GUSI +#define HAVE_FTRUNCATE +#endif +#endif + #ifdef THINK_C #define HAVE_FOPENRF #endif |