]> granicus.if.org Git - python/commitdiff
Issue #14437: Fix building the _io module under Cygwin.
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 31 Mar 2012 21:53:07 +0000 (23:53 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 31 Mar 2012 21:53:07 +0000 (23:53 +0200)
Misc/NEWS
Modules/_io/_iomodule.h

index 1fab8fdb5f0f860aff0c0b0abe145b4bc625c28b..9c848e44c2d3a039b9bd7f8ed9737bf0cf67f2f9 100644 (file)
--- 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?
 ===============================================
index 0fa539105094bcea00a32953929eed6275bc0846..916ca493243fc22ac32f072ca7e2bf62220d584f 100644 (file)
@@ -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.