mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-04 19:55:19 +00:00
Fixed build for older toolchains that don't have arm_sve.h
This commit is contained in:
parent
11745aad07
commit
de08751537
1 changed files with 2 additions and 1 deletions
|
|
@ -290,7 +290,8 @@ _m_prefetch(void *__P)
|
|||
# endif
|
||||
# elif defined(SDL_PLATFORM_MACOS)
|
||||
/* Apple has no AArch64 device supporting SVE2 */
|
||||
# elif defined(__ARM_ARCH) && (__ARM_ARCH >= 8) && (defined(__aarch64__) || defined(_M_ARM64))
|
||||
# elif defined(__ARM_ARCH) && (__ARM_ARCH >= 8) && (defined(__aarch64__) || defined(_M_ARM64)) && \
|
||||
defined(__has_include) && __has_include(<arm_sve.h>)
|
||||
# define SDL_SVE2_INTRINSICS 1
|
||||
# include <arm_sve.h>
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue