mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-18 19:06:18 -07:00
; Fix MinGW64 build due to missing 'getdelim' prototype
* src/conf_post.h [WINDOWSNT]: Add prototype for 'getdelim'. Reported by Angelo Graziosi <angelo.g0@libero.it>.
This commit is contained in:
parent
a2b78854b0
commit
601c099d1d
1 changed files with 8 additions and 0 deletions
|
|
@ -425,3 +425,11 @@ extern int gl_consolesafe_vprintf (const char *restrict format, va_list args)
|
|||
# define vprintf gl_consolesafe_vprintf
|
||||
# endif /* !_UCRT */
|
||||
#endif /* WINDOWSNT */
|
||||
|
||||
#if defined WINDOWSNT && !defined HAVE_DECL_GETDELIM
|
||||
/* MinGW64 doesn't have getdelim, called by Gnulib's getline, but the
|
||||
MS-Windows build omits stdio.h module, where getdelim is declared. */
|
||||
# include <stdio.h>
|
||||
# include <stddef.h>
|
||||
extern ssize_t getdelim (char **, size_t *, int, FILE *);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue