From 4b536d477168713c5979140efa114b4a927f17de Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 31 Mar 2012 23:53:07 +0200 Subject: [PATCH] Issue #14437: Fix building the _io module under Cygwin. --- Misc/NEWS | 5 +++++ Modules/_io/_iomodule.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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. -- 2.50.1