0
0
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:
Bram Moolenaar
2018-08-22 21:56:57 +02:00
parent 3b3a506f57
commit 8e7218c459
2 changed files with 5 additions and 1 deletions

View File

@@ -65,8 +65,10 @@ extern void memmove(char *, char *, int);
# 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);
#endif
#ifdef HAVE_SETSID
extern pid_t setsid(void);
#endif

View File

@@ -794,6 +794,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
319,
/**/
318,
/**/