Fix Android Detection in lrzip_private.h

lrzip_private.h was checking for "ANDROID" but
it should be __ANDROID__

lrzip now compiles just fine on android, it seems
This commit is contained in:
Daniel Jewell 2019-05-27 20:34:50 -07:00
parent 79f505165b
commit a8f0dc3a31

View file

@ -144,7 +144,7 @@ extern int errno;
#define unlikely(x) __builtin_expect(!!(x), 0) #define unlikely(x) __builtin_expect(!!(x), 0)
#define __maybe_unused __attribute__((unused)) #define __maybe_unused __attribute__((unused))
#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(ANDROID) || defined(__APPLE__) #if defined(__MINGW32__) || defined(__CYGWIN__) || defined(__ANDROID__) || defined(__APPLE__)
# define ffsll __builtin_ffsll # define ffsll __builtin_ffsll
#endif #endif