SDL_cpuinfo: define __ARM_ARCH=8 for _M_ARM64

Microsoft's compiler doesn't define __ARM_ARCH, but we have several
places that use it.
This commit is contained in:
Steven Noonan 2022-08-25 20:21:03 -07:00 committed by Sam Lantinga
parent d2300516c3
commit b6e7c743db
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ _m_prefetch(void *__P)
# include <arm64intr.h>
# include <arm64_neon.h>
# define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
# define __ARM_ARCH 8
# endif
# endif
#endif