From: Antoine Pitrou Date: Sat, 31 Mar 2012 21:53:07 +0000 (+0200) Subject: Issue #14437: Fix building the _io module under Cygwin. X-Git-Tag: v2.7.4rc1~931 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b536d477168713c5979140efa114b4a927f17de;p=python Issue #14437: Fix building the _io module under Cygwin. --- diff --git a/Misc/NEWS b/Misc/NEWS index 1fab8fdb5f..9c848e44c2 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -78,6 +78,11 @@ Library - 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 index 0fa5391050..916ca49324 100644 --- a/Modules/_io/_iomodule.h +++ b/Modules/_io/_iomodule.h @@ -72,7 +72,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.