mirror of https://github.com/encounter/SDL.git
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:
parent
d2300516c3
commit
b6e7c743db
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue