mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-06 13:27:48 +00:00
Fix -Wundef warnings due to use of unguarded __VITA__
This commit is contained in:
@@ -451,7 +451,7 @@ static int CPU_haveNEON(void)
|
||||
return IsProcessorFeaturePresent(PF_ARM_NEON_INSTRUCTIONS_AVAILABLE) != 0;
|
||||
#elif (defined(__ARM_ARCH) && (__ARM_ARCH >= 8)) || defined(__aarch64__)
|
||||
return 1; /* ARMv8 always has non-optional NEON support. */
|
||||
#elif __VITA__
|
||||
#elif defined(__VITA__)
|
||||
return 1;
|
||||
#elif __3DS__
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user