From df728f859171209f2e1fa69372d20696bb4360ee Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 18 Nov 2019 10:48:14 -0800 Subject: [PATCH] Fixed unused function warning on Android --- src/cpuinfo/SDL_cpuinfo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c index a40fe7f31..7819f37e7 100644 --- a/src/cpuinfo/SDL_cpuinfo.c +++ b/src/cpuinfo/SDL_cpuinfo.c @@ -384,7 +384,7 @@ CPU_haveARMSIMD(void) } #endif -#if (defined(__LINUX__) || defined(__ANDROID__)) && defined(__ARM_ARCH) && !defined(HAVE_GETAUXVAL) +#if defined(__LINUX__) && defined(__ARM_ARCH) && !defined(HAVE_GETAUXVAL) static int readProcAuxvForNeon(void) { @@ -404,7 +404,6 @@ readProcAuxvForNeon(void) } #endif - static int CPU_haveNEON(void) {