am 8b91980e: Merge "Explain how wcswcs ended up in ndk_cruft.cpp."
* commit '8b91980e4c139558f9cca4e9a0980dad07c06e68': Explain how wcswcs ended up in ndk_cruft.cpp.
This commit is contained in:
commit
10d197c681
@ -225,6 +225,7 @@ extern "C" int tkill(pid_t tid, int sig) {
|
|||||||
return syscall(__NR_tkill, tid, sig);
|
return syscall(__NR_tkill, tid, sig);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This was removed from POSIX 2008.
|
||||||
extern "C" wchar_t* wcswcs(wchar_t* haystack, wchar_t* needle) {
|
extern "C" wchar_t* wcswcs(wchar_t* haystack, wchar_t* needle) {
|
||||||
return wcsstr(haystack, needle);
|
return wcsstr(haystack, needle);
|
||||||
}
|
}
|
||||||
@ -267,7 +268,7 @@ extern "C" int getdtablesize() {
|
|||||||
return r.rlim_cur;
|
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 {
|
struct timeb {
|
||||||
time_t time;
|
time_t time;
|
||||||
unsigned short millitm;
|
unsigned short millitm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user