SDL_cpuinfo.c: adjust for new SDL_PLATFORM_WINDOWS meaning.

main
Ozkan Sezer 2024-01-24 20:37:00 +03:00 committed by Ozkan Sezer
parent fd6ec3b9aa
commit 34f03207c4
1 changed files with 1 additions and 1 deletions

View File

@ -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