Chg: android adaptions from @xianglin1998

This commit is contained in:
iceman1001 2020-04-16 16:46:09 +02:00
commit 1bf32aad90
4 changed files with 18 additions and 6 deletions

View file

@ -83,8 +83,9 @@ enum {
EMINCOUNT = 1,
EMAXCOUNT,
EBADINT,
// The same name define EOVERFLOW in errno.h on windows platform
#ifdef __STDC_WANT_SECURE_LIB__
// The same name define EOVERFLOW in errno.h on windows platform or android
#if defined(__STDC_WANT_SECURE_LIB__) || defined(__ANDROID__) || defined(ANDROID)
EOVERFLOW_,
#else
EOVERFLOW,