ソースを参照

Fixed unused function warning on Android

Sam Lantinga 5 年 前
コミット
df728f8591
1 ファイル変更1 行追加2 行削除
  1. 1 2
      src/cpuinfo/SDL_cpuinfo.c

+ 1 - 2
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)
 {