From ac6fcbf30ba715aaeb36dcb0b230303d44e13a52 Mon Sep 17 00:00:00 2001 From: Ryan VanderMeulen Date: Tue, 23 Jul 2024 17:02:39 +0000 Subject: [PATCH] Bug 1893001 - Fall through to the lower block for Android builds. r=jfkthame Fixes broken builds with NDK 27 where 'moz_xrealloc' can't be found. Differential Revision: https://phabricator.services.mozilla.com/D216900 --- gfx/graphite2/src/MozGrMalloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/graphite2/src/MozGrMalloc.h b/gfx/graphite2/src/MozGrMalloc.h index 5d6a9f3910a92..b8eb58f33fb9a 100755 --- a/gfx/graphite2/src/MozGrMalloc.h +++ b/gfx/graphite2/src/MozGrMalloc.h @@ -12,7 +12,7 @@ #include "mozilla/mozalloc.h" -#if defined(XP_LINUX) +#if defined(XP_LINUX) && !defined(ANDROID) #define malloc moz_xmalloc #define calloc moz_xcalloc