mirror of https://github.com/python/cpython
Issue #28768: Fix implicit declaration of function _setmode. Patch by Masayuki Yamamoto
This commit is contained in:
commit
280408bf1c
|
@ -597,6 +597,9 @@ Documentation
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #28768: Fix implicit declaration of function _setmode. Patch by
|
||||||
|
Masayuki Yamamoto
|
||||||
|
|
||||||
- Issue #29080: Removes hard dependency on hg.exe from PC/build.bat
|
- Issue #29080: Removes hard dependency on hg.exe from PC/build.bat
|
||||||
|
|
||||||
- Issue #23903: Added missed names to PC/python3.def.
|
- Issue #23903: Added missed names to PC/python3.def.
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
#ifdef HAVE_SYS_STAT_H
|
#ifdef HAVE_SYS_STAT_H
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_IO_H
|
||||||
|
#include <io.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_FCNTL_H
|
#ifdef HAVE_FCNTL_H
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
|
|
||||||
#if defined(MS_WINDOWS) || defined(__CYGWIN__)
|
#if defined(MS_WINDOWS) || defined(__CYGWIN__)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
#ifdef HAVE_IO_H
|
||||||
|
#include <io.h>
|
||||||
|
#endif
|
||||||
#ifdef HAVE_FCNTL_H
|
#ifdef HAVE_FCNTL_H
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue