Explain how wcswcs ended up in ndk_cruft.cpp.
(cherry picked from commit 1628eb1d43008c52b00ec98d10c4fd9e8b6fc7c5) Change-Id: I335b35038781d0426b3647727e6c4f22c83e187b
This commit is contained in:
parent
db7a17d4ff
commit
59b0933e6d
@ -225,6 +225,7 @@ extern "C" int tkill(pid_t tid, int sig) {
|
||||
return syscall(__NR_tkill, tid, sig);
|
||||
}
|
||||
|
||||
// This was removed from POSIX 2008.
|
||||
extern "C" wchar_t* wcswcs(wchar_t* haystack, wchar_t* needle) {
|
||||
return wcsstr(haystack, needle);
|
||||
}
|
||||
@ -267,7 +268,7 @@ extern "C" int getdtablesize() {
|
||||
return r.rlim_cur;
|
||||
}
|
||||
|
||||
// Only used by ftime, which was removed from POSIX.
|
||||
// Only used by ftime, which was removed from POSIX 2008.
|
||||
struct timeb {
|
||||
time_t time;
|
||||
unsigned short millitm;
|
||||
|
Loading…
x
Reference in New Issue
Block a user