Paul Eggert <egg...@cs.ucla.edu> writes:

> On 2025-04-20 18:45, Po Lu wrote:
>
>> -# if !defined (LDAV_DONE) && (defined __linux__ || defined __ANDROID__)
>> +# if !defined (LDAV_DONE) && (defined __linux__ || defined __ANDROID__) \
>> +  && (!defined __ANDROID__ || __ANDROID_API__ >= 13)
>
> Wouldn't the following be simpler, and work as well?
>
>  #if !defined LDAV_DONE && (defined __linux__ || 13 <= __ANDROID_API__)

Probably.  I don't know whether any non-Android systems exist where
__ANDROID_API__ is defined.

Reply via email to