mirror of https://github.com/python/cpython
bpo-39740: Early declare devpoll_methods to support old compilers (GH-19281)
This commit is contained in:
parent
25160cdc47
commit
31245d19f2
|
@ -764,6 +764,8 @@ poll_dealloc(pollObject *self)
|
|||
|
||||
|
||||
#ifdef HAVE_SYS_DEVPOLL_H
|
||||
static PyMethodDef devpoll_methods[];
|
||||
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
int fd_devpoll;
|
||||
|
|
Loading…
Reference in New Issue