changeset: 76030:f96b603278cc branch: 3.2 parent: 76027:52e32f3b933d user: Antoine Pitrou date: Sat Mar 31 23:50:31 2012 +0200 files: Misc/NEWS Modules/_io/_iomodule.h description: Issue #14437: Fix building the _io module under Cygwin. diff -r 52e32f3b933d -r f96b603278cc Misc/NEWS --- a/Misc/NEWS Sat Mar 31 20:56:21 2012 +0200 +++ b/Misc/NEWS Sat Mar 31 23:50:31 2012 +0200 @@ -105,6 +105,8 @@ 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. diff -r 52e32f3b933d -r f96b603278cc Modules/_io/_iomodule.h --- a/Modules/_io/_iomodule.h Sat Mar 31 20:56:21 2012 +0200 +++ b/Modules/_io/_iomodule.h Sat Mar 31 23:50:31 2012 +0200 @@ -67,7 +67,7 @@ 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.

AltStyle によって変換されたページ (->オリジナル) /