am 053ceea1
: am 9386a33e
: am 93f3811b
: am a4075118
: Merge "Unhide __set_errno for backwards compatibility."
* commit '053ceea1172a399b9fddf0ab010cff535c65be0e': Unhide __set_errno for backwards compatibility.
This commit is contained in:
commit
263be8b1a0
@ -31,7 +31,8 @@
|
||||
// This function is called from our assembler syscall stubs.
|
||||
// C/C++ code should just assign 'errno' instead.
|
||||
|
||||
extern "C" __LIBC_HIDDEN__ int __set_errno(int n) {
|
||||
// TODO: this should be __LIBC_HIDDEN__ but was exposed in <errno.h> in the NDK.
|
||||
extern "C" int __set_errno(int n) {
|
||||
errno = n;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user