Issue #14437: Fix building the _io module under Cygwin.

This commit is contained in:
Antoine Pitrou 2012-03-31 23:50:31 +02:00
parent 6afd11c762
commit 6211b88161
2 changed files with 3 additions and 1 deletions

View file

@ -105,6 +105,8 @@ Extension Modules
Build
-----
- Issue #14437: Fix building the _io module under Cygwin.
- Issue #14387: Do not include accu.h from Python.h.
- Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.

View file

@ -67,7 +67,7 @@ typedef struct {
PyObject *filename; /* Not used, but part of the IOError object */
Py_ssize_t written;
} PyBlockingIOErrorObject;
PyAPI_DATA(PyObject *) PyExc_BlockingIOError;
extern PyObject *PyExc_BlockingIOError;
/*
* Offset type for positioning.