mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
SF patch #418147 Fixes to allow compiling w/ Borland, from Stephen Hansen.
This commit is contained in:
parent
460f0691df
commit
58e0a8c130
5 changed files with 32 additions and 14 deletions
|
|
@ -434,6 +434,15 @@ typedef struct fd_set {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Rename some functions for the Borland compiler
|
||||
*/
|
||||
#ifdef __BORLANDC__
|
||||
# include <io.h>
|
||||
# define _chsize chsize
|
||||
# define _setmode setmode
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue