Browse Source

SDL_cpuinfo.c: adjust for new SDL_PLATFORM_WINDOWS meaning.

Ozkan Sezer 1 year ago
parent
commit
34f03207c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cpuinfo/SDL_cpuinfo.c

+ 1 - 1
src/cpuinfo/SDL_cpuinfo.c

@@ -439,7 +439,7 @@ static int CPU_haveNEON(void)
 {
 /* The way you detect NEON is a privileged instruction on ARM, so you have
    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. */
 /* Seems to have been removed */
 #ifndef PF_ARM_NEON_INSTRUCTIONS_AVAILABLE