From: Thomas Wouters Date: Wed, 27 Jun 2001 13:04:24 +0000 (+0000) Subject: Backport of Tim's checkin 2.27: X-Git-Tag: v2.1.1c1~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac4094b31fe037623b020c8350b99fe1844d6b86;p=thirdparty%2FPython%2Fcpython.git Backport of Tim's checkin 2.27: SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen. --- diff --git a/Include/pyport.h b/Include/pyport.h index 852efb894fab..2a59fa1fbf3e 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -434,6 +434,15 @@ typedef struct fd_set { #endif #endif +/* + * Rename some functions for the Borland compiler + */ +#ifdef __BORLANDC__ +# include +# define _chsize chsize +# define _setmode setmode +#endif + #ifdef __cplusplus } #endif