comparison src/osdef1.h.in @ 14611:937c80935bc0 v8.1.0319

patch 8.1.0319: bzero() function prototype doesn't work for Android commit https://github.com/vim/vim/commit/8e7218c45941c9f6263348e8eadf6075d0671832 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 22 21:56:57 2018 +0200 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 https://github.com/vim/vim/issues/3365)
author Christian Brabandt <cb@256bit.org>
date Wed, 22 Aug 2018 22:00:07 +0200
parents 37a441352da2
children 22f0dda71638
comparison
equal deleted inserted replaced
14610:e6e9a1f2851f 14611:937c80935bc0
63 # ifdef USEMEMMOVE 63 # ifdef USEMEMMOVE
64 extern void memmove(char *, char *, int); 64 extern void memmove(char *, char *, int);
65 # endif 65 # endif
66 # endif 66 # endif
67 #endif 67 #endif
68 /* used inside of FD_ZERO macro: */ 68 #ifndef __BIONIC__ // Android's libc #defines bzero to memset.
69 // used inside of FD_ZERO macro
69 extern void bzero(void *, size_t); 70 extern void bzero(void *, size_t);
71 #endif
70 #ifdef HAVE_SETSID 72 #ifdef HAVE_SETSID
71 extern pid_t setsid(void); 73 extern pid_t setsid(void);
72 #endif 74 #endif
73 #ifdef HAVE_SETPGID 75 #ifdef HAVE_SETPGID
74 extern int setpgid(pid_t, pid_t); 76 extern int setpgid(pid_t, pid_t);