diff --git a/include/jsoncons/config/compiler_support.hpp b/include/jsoncons/config/compiler_support.hpp index 32f2dd3179..69dcd7403f 100644 --- a/include/jsoncons/config/compiler_support.hpp +++ b/include/jsoncons/config/compiler_support.hpp @@ -88,8 +88,8 @@ #endif #if defined(ANDROID) || defined(__ANDROID__) -#define JSONCONS_HAS_STRTOLD_L #if __ANDROID_API__ >= 21 +#define JSONCONS_HAS_STRTOLD_L #else #define JSONCONS_NO_LOCALECONV #endif