[Python-checkins] cpython (2.7): Issue #14437: Fix building the _io module under Cygwin.
antoine.pitrou
python-checkins at python.org
Sat Mar 31 23:58:16 CEST 2012
http://hg.python.org/cpython/rev/6f8dd543d80a
changeset: 76032:6f8dd543d80a
branch: 2.7
parent: 76020:3ca81a951c31
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Mar 31 23:53:07 2012 +0200
summary:
Issue #14437: Fix building the _io module under Cygwin.
files:
Misc/NEWS | 5 +++++
Modules/_io/_iomodule.h | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -78,6 +78,11 @@
- Issue #6884: Fix long-standing bugs with MANIFEST.in parsing in distutils
on Windows.
+Build
+-----
+
+- Issue #14437: Fix building the _io module under Cygwin.
+
What's New in Python 2.7.3 release candidate 2?
===============================================
diff --git a/Modules/_io/_iomodule.h b/Modules/_io/_iomodule.h
--- a/Modules/_io/_iomodule.h
+++ b/Modules/_io/_iomodule.h
@@ -72,7 +72,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