From a8f0dc3a313a55443d0f5d26b3aa17b3500f1599 Mon Sep 17 00:00:00 2001 From: Daniel Jewell <23286051+danieldjewell@users.noreply.github.com> Date: Mon, 27 May 2019 20:34:50 -0700 Subject: [PATCH] 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 --- lrzip_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lrzip_private.h b/lrzip_private.h index 6c0acd4..5f15467 100644 --- a/lrzip_private.h +++ b/lrzip_private.h @@ -144,7 +144,7 @@ extern int errno; #define unlikely(x) __builtin_expect(!!(x), 0) #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 #endif