mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 19:38:14 +00:00
SDL_cpuinfo.c: adjust for new SDL_PLATFORM_WINDOWS meaning.
This commit is contained in:
@@ -439,7 +439,7 @@ static int CPU_haveNEON(void)
|
|||||||
{
|
{
|
||||||
/* The way you detect NEON is a privileged instruction on ARM, so you have
|
/* The way you detect NEON is a privileged instruction on ARM, so you have
|
||||||
query the OS kernel in a platform-specific way. :/ */
|
query the OS kernel in a platform-specific way. :/ */
|
||||||
#if (defined(SDL_PLATFORM_WINDOWS) || defined(SDL_PLATFORM_WINRT) || defined(SDL_PLATFORM_GDK)) && (defined(_M_ARM) || defined(_M_ARM64))
|
#if defined(SDL_PLATFORM_WINDOWS) && (defined(_M_ARM) || defined(_M_ARM64))
|
||||||
/* Visual Studio, for ARM, doesn't define __ARM_ARCH. Handle this first. */
|
/* Visual Studio, for ARM, doesn't define __ARM_ARCH. Handle this first. */
|
||||||
/* Seems to have been removed */
|
/* Seems to have been removed */
|
||||||
#ifndef PF_ARM_NEON_INSTRUCTIONS_AVAILABLE
|
#ifndef PF_ARM_NEON_INSTRUCTIONS_AVAILABLE
|
||||||
|
Reference in New Issue
Block a user