New submission from Дилян Палаузов <dilyan.palau...@aegee.org>:
These are needed only sometimes. diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -1466,6 +1466,7 @@ path_error2(path_t *path, path_t *path2) /* POSIX generic methods */ +#if defined(HAVE_FSYNC) || defined(HAVE_FDATASYNC) || defined(HAVE_FCHDIR) static int fildes_converter(PyObject *o, void *p) { @@ -1495,6 +1496,7 @@ posix_fildes_fd(int fd, int (*func)(int)) return (!async_err) ? posix_error() : NULL; Py_RETURN_NONE; } +#endif #ifdef MS_WINDOWS ---------- components: Build messages: 304059 nosy: dilyan.palauzov priority: normal severity: normal status: open title: Modules/posixmodule.c: skip compiling jka4NaPmmQ37 and posix_fildes_fd type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31748> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com