diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-31 21:50:31 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-03-31 21:50:31 (GMT) |
commit | 6211b881613de6654ec8b5e77f3c705f1b4becb8 (patch) | |
tree | c37df9ce50505b48b34280748e0ed6593d774cd3 /Modules/_io | |
parent | 6afd11c762ad9f135ce7aaf1f9fa1e3856984bf1 (diff) | |
download | cpython-6211b881613de6654ec8b5e77f3c705f1b4becb8.zip cpython-6211b881613de6654ec8b5e77f3c705f1b4becb8.tar.gz cpython-6211b881613de6654ec8b5e77f3c705f1b4becb8.tar.bz2 |
Issue #14437: Fix building the _io module under Cygwin.
Diffstat (limited to 'Modules/_io')
-rw-r--r-- | Modules/_io/_iomodule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/_iomodule.h b/Modules/_io/_iomodule.h index 925e4f2..c198b43 100644 --- a/Modules/_io/_iomodule.h +++ b/Modules/_io/_iomodule.h @@ -67,7 +67,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. |