mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
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
Block a user