chiark / gitweb /
libuv: Update from 1.20.0 to 1.20.1
[termux-packages] / packages / screen / os.h.patch
1 --- ../cache/screen-4.4.0/os.h  2016-06-19 19:41:03.000000000 +0000
2 +++ ./os.h      2016-12-20 02:03:49.513365234 +0000
3 @@ -129,15 +129,17 @@
4  #ifdef SYSV
5  # define index strchr
6  # define rindex strrchr
7 +#ifndef __ANDROID__
8  # define bzero(poi,len) memset(poi,0,len)
9 +#endif 
10  # define bcmp memcmp
11  # define killpg(pgrp,sig) kill( -(pgrp), sig)
12  #endif
13 -
14  #ifndef HAVE_GETCWD
15  # define getcwd(b,l) getwd(b)
16  #endif
17  
18 +#ifndef __ANDROID__
19  #ifndef USEBCOPY
20  # ifdef USEMEMMOVE
21  #  define bcopy(s,d,len) memmove(d,s,len)
22 @@ -150,6 +152,8 @@
23  #  endif
24  # endif
25  #endif
26 +#endif
27 +
28  
29  #if defined(HAVE_SETRESUID) && !defined(HAVE_SETREUID)
30  # define setreuid(ruid, euid) setresuid(ruid, euid, -1)