mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.1.0319: bzero() function prototype doesn't work for Android
Problem: bzero() function prototype doesn't work for Android. Solution: Add an #ifdef. (Elliott Hughes, closes #3365)
This commit is contained in:
@@ -65,8 +65,10 @@ extern void memmove(char *, char *, int);
|
|||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
/* used inside of FD_ZERO macro: */
|
#ifndef __BIONIC__ // Android's libc #defines bzero to memset.
|
||||||
|
// used inside of FD_ZERO macro
|
||||||
extern void bzero(void *, size_t);
|
extern void bzero(void *, size_t);
|
||||||
|
#endif
|
||||||
#ifdef HAVE_SETSID
|
#ifdef HAVE_SETSID
|
||||||
extern pid_t setsid(void);
|
extern pid_t setsid(void);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -794,6 +794,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
319,
|
||||||
/**/
|
/**/
|
||||||
318,
|
318,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user