소스 검색

Fixed unused function warning on Android

Sam Lantinga 6 년 전
부모
커밋
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
 #endif
 
 
-#if (defined(__LINUX__) || defined(__ANDROID__)) && defined(__ARM_ARCH) && !defined(HAVE_GETAUXVAL)
+#if defined(__LINUX__) && defined(__ARM_ARCH) && !defined(HAVE_GETAUXVAL)
 static int
 static int
 readProcAuxvForNeon(void)
 readProcAuxvForNeon(void)
 {
 {
@@ -404,7 +404,6 @@ readProcAuxvForNeon(void)
 }
 }
 #endif
 #endif
 
 
-
 static int
 static int
 CPU_haveNEON(void)
 CPU_haveNEON(void)
 {
 {