[Python-checkins] cpython (3.2): Issue #14437: Fix building the _io module under Cygwin.
antoine.pitrou
python-checkins at python.org
Sat Mar 31 23:58:15 CEST 2012
http://hg.python.org/cpython/rev/f96b603278cc
changeset: 76030:f96b603278cc
branch: 3.2
parent: 76027:52e32f3b933d
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Mar 31 23:50:31 2012 +0200
summary:
Issue #14437: Fix building the _io module under Cygwin.
files:
Misc/NEWS | 2 ++
Modules/_io/_iomodule.h | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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 --git a/Modules/_io/_iomodule.h b/Modules/_io/_iomodule.h
--- a/Modules/_io/_iomodule.h
+++ b/Modules/_io/_iomodule.h
@@ -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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list