From 609cea1eb8149944c00018eb5209965995055d0b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 10 Aug 2021 17:14:06 -0700 Subject: [PATCH] Enable SSE3 intrinsics when building with Visual Studio Fixes https://github.com/libsdl-org/SDL/issues/4530 --- include/SDL_cpuinfo.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/SDL_cpuinfo.h b/include/SDL_cpuinfo.h index 4401c3796..aa3f4bb31 100644 --- a/include/SDL_cpuinfo.h +++ b/include/SDL_cpuinfo.h @@ -63,6 +63,9 @@ _m_prefetch(void *__P) #ifndef __SSE2__ #define __SSE2__ #endif +#ifndef __SSE3__ +#define __SSE3__ +#endif #elif defined(__MINGW64_VERSION_MAJOR) #include #if !defined(SDL_DISABLE_ARM_NEON_H) && defined(__ARM_NEON)