Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31245d1

Browse files
authored
bpo-39740: Early declare devpoll_methods to support old compilers (GH-19281)
1 parent 25160cd commit 31245d1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Modules/selectmodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ poll_dealloc(pollObject *self)
764764

765765

766766
#ifdef HAVE_SYS_DEVPOLL_H
767+
static PyMethodDef devpoll_methods[];
768+
767769
typedef struct {
768770
PyObject_HEAD
769771
int fd_devpoll;

0 commit comments

Comments
 (0)