Enable SSE3 intrinsics when building with Visual Studio

Fixes https://github.com/libsdl-org/SDL/issues/4530
This commit is contained in:
Sam Lantinga 2021-08-10 17:14:06 -07:00
parent d5ad6f6e6a
commit 609cea1eb8
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ _m_prefetch(void *__P)
#ifndef __SSE2__
#define __SSE2__
#endif
#ifndef __SSE3__
#define __SSE3__
#endif
#elif defined(__MINGW64_VERSION_MAJOR)
#include <intrin.h>
#if !defined(SDL_DISABLE_ARM_NEON_H) && defined(__ARM_NEON)