* commit '93f3811b744b2100d0f259916876965c242cd3d9': Unhide __set_errno for backwards compatibility.
This commit is contained in:
commit
9386a33ea0
@ -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