mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
bpo-39740: Early declare devpoll_methods to support old compilers (GH-19281)
This commit is contained in:
parent
25160cdc47
commit
31245d19f2
1 changed files with 2 additions and 0 deletions
|
@ -764,6 +764,8 @@ poll_dealloc(pollObject *self)
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_DEVPOLL_H
|
#ifdef HAVE_SYS_DEVPOLL_H
|
||||||
|
static PyMethodDef devpoll_methods[];
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PyObject_HEAD
|
PyObject_HEAD
|
||||||
int fd_devpoll;
|
int fd_devpoll;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue