Fixed unused function warning on Android
authorSam Lantinga
Mon, 18 Nov 2019 10:48:14 -0800
changeset 132543656eb60941b
parent 13252 900d20d46990
child 13255 3ea086e43015
Fixed unused function warning on Android
src/cpuinfo/SDL_cpuinfo.c
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Sat Nov 16 22:45:49 2019 -0800
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Mon Nov 18 10:48:14 2019 -0800
     1.3 @@ -384,7 +384,7 @@
     1.4  }
     1.5  #endif
     1.6  
     1.7 -#if (defined(__LINUX__) || defined(__ANDROID__)) && defined(__ARM_ARCH) && !defined(HAVE_GETAUXVAL)
     1.8 +#if defined(__LINUX__) && defined(__ARM_ARCH) && !defined(HAVE_GETAUXVAL)
     1.9  static int
    1.10  readProcAuxvForNeon(void)
    1.11  {
    1.12 @@ -404,7 +404,6 @@
    1.13  }
    1.14  #endif
    1.15  
    1.16 -
    1.17  static int
    1.18  CPU_haveNEON(void)
    1.19  {