diff --git a/ndk/sources/android/libportable/common/include/errno_portable.h b/ndk/sources/android/libportable/common/include/errno_portable.h index 8742bb4ee..8966c7775 100644 --- a/ndk/sources/android/libportable/common/include/errno_portable.h +++ b/ndk/sources/android/libportable/common/include/errno_portable.h @@ -22,6 +22,8 @@ #include #include +#define ALOGV(...) + #define EDEADLK_PORTABLE 35 #define ENAMETOOLONG_PORTABLE 36 #define ENOLCK_PORTABLE 37 @@ -461,7 +463,7 @@ void WRAP(__set_errno)(int portable_errno) extern char* REAL(strerror)(int); char *WRAP(strerror)(int errnum) { - return REAL(strerror)(errno_p2on(errnum)); + return REAL(strerror)(errno_pton(errnum)); } /* BSD style strerror_r */