fix android build for libjpeg-turbo [ci build]

This commit is contained in:
halx99 2020-12-03 15:30:44 +08:00
parent 5056eb9ef2
commit 82ee7e7c61
2 changed files with 8 additions and 12 deletions

View File

@ -1,8 +1,6 @@
// By halx99, This file is only workaround for build ios combined archs // By halx99, This file is only workaround for build ios combined archs
#if defined(__APPLE__) #if defined(__arm__)
#if defined(__arm__)
#include "arm/jsimd.c" #include "arm/jsimd.c"
#elif defined(__arm64__) #elif defined(__arm64__)
#include "arm64/jsimd.c" #include "arm64/jsimd.c"
#endif
#endif #endif

View File

@ -1,8 +1,6 @@
// By halx99, This file is only workaround for build ios combined archs // By halx99, This file is only workaround for build ios combined archs
#if defined(__APPLE__) #if defined(__arm__)
#if defined(__arm__)
#include "arm/jsimd_neon.S" #include "arm/jsimd_neon.S"
#elif defined(__arm64__) #elif defined(__arm64__)
#include "arm64/jsimd_neon.S" #include "arm64/jsimd_neon.S"
#endif
#endif #endif