Mercurial > mxe-octave
view src/readline-3-fd_set.patch @ 6989:5f2c92da4d9c
readline: update to 8.1 patch level 7
Add upstream patches for readline.
* readline-3-fd_set.patch: Remove hunk that is part of readline-0-004.
* dist-files.mk: Update list with new patches.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 01 Dec 2023 19:47:25 +0100 |
parents | 5ef7d51c2195 |
children |
line wrap: on
line source
Guard functions that use types that aren't available on all platforms with pre-processor conditions. diff -urN readline-8.2/rlprivate.h.orig readline-8.2/rlprivate.h --- readline-8.2/rlprivate.h.orig 2022-08-12 00:35:16.000000000 +0200 +++ readline-8.2/rlprivate.h 2022-11-12 17:43:54.266291863 +0100 @@ -303,7 +303,7 @@ extern int _rl_timeout_init (void); extern int _rl_timeout_handle_sigalrm (void); -#if defined (_POSIXSELECT_H_) +#if defined (HAVE_PSELECT) || defined (HAVE_SELECT) /* use as a sentinel for fd_set, struct timeval, and sigset_t definitions */ extern int _rl_timeout_select (int, fd_set *, fd_set *, fd_set *, const struct timeval *, const sigset_t *); #endif