From cd09d16600e3cd1f20218b2b236a86db911e5095 Mon Sep 17 00:00:00 2001 From: Jesse Talavera-Greenberg Date: Mon, 4 Dec 2023 09:48:43 -0500 Subject: [PATCH] First crack at fixing Xdelta support for Android --- deps/xdelta3/xdelta3.h | 1 - pkg/android/phoenix-common/jni/Android.mk | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/xdelta3/xdelta3.h b/deps/xdelta3/xdelta3.h index dc56045d24bd..c858996512bb 100644 --- a/deps/xdelta3/xdelta3.h +++ b/deps/xdelta3/xdelta3.h @@ -104,7 +104,6 @@ * the 32bit boundary [xdelta3-test.h]). */ #ifndef _WIN32 -#define __STDC_FORMAT_MACROS #include #include #else /* WIN32 case */ diff --git a/pkg/android/phoenix-common/jni/Android.mk b/pkg/android/phoenix-common/jni/Android.mk index 18300fb97ee1..6ff700375a06 100644 --- a/pkg/android/phoenix-common/jni/Android.mk +++ b/pkg/android/phoenix-common/jni/Android.mk @@ -135,6 +135,7 @@ DEFINES += -DRARCH_MOBILE \ -DHAVE_ACCESSIBILITY \ -DHAVE_TRANSLATE \ -DWANT_IFADDRS \ + -DHAVE_XDELTA \ -DHAVE_CORE_INFO_CACHE ifeq ($(HAVE_GFX_WIDGETS),1)