mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +00:00
OS/2 EMX port changes (Objects part of patch #450267):
Objects/ fileobject.c stringobject.c unicodeobject.c This commit doesn't include the cleanup patches for stringobject.c and unicodeobject.c which are shown separately in the patch manager. Those patches will be regenerated and applied in a subsequent commit, so as to preserve a fallback position (this commit to those files).
This commit is contained in:
parent
5e090fc985
commit
c487439aa7
3 changed files with 23 additions and 0 deletions
|
@ -25,6 +25,10 @@
|
|||
#define NO_FOPEN_ERRNO
|
||||
#endif
|
||||
|
||||
#if defined(PYOS_OS2) && defined(PYCC_GCC)
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#define BUF(v) PyString_AS_STRING((PyStringObject *)v)
|
||||
|
||||
#ifndef DONT_HAVE_ERRNO_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue