mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-04 20:37:49 +00:00
cmake+video: always use altivec.h header for detection + introduce SDL_ENABLE_ALTIVEC
This commit is contained in:
committed by
Anonymous Maarten
parent
684709a5b6
commit
d27db3defa
@@ -186,6 +186,10 @@
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3/SDL_intrin.h>
|
||||
|
||||
#if defined(__ALTIVEC__) && defined(SDL_ENABLE_ALTIVEC)
|
||||
#define HAVE_ALTIVEC_INTRINSICS 1
|
||||
#endif
|
||||
|
||||
#if defined(__ARM_NEON) && !defined(SDL_DISABLE_NEON)
|
||||
#define HAVE_NEON_INTRINSICS 1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user