From: Guido van Rossum Date: Tue, 28 Apr 1998 16:05:59 +0000 (+0000) Subject: Enable ftruncate() on the Mac. X-Git-Tag: v1.5.2a1~793 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2044e1a71015843f5e07fb2b5faeb6228af96e1;p=thirdparty%2FPython%2Fcpython.git Enable ftruncate() on the Mac. (Jack) --- diff --git a/Objects/fileobject.c b/Objects/fileobject.c index b744ab427bf8..76f5318f51b5 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