2
0
Эх сурвалжийг харах

Enable SSE3 intrinsics when building with Visual Studio

Fixes https://github.com/libsdl-org/SDL/issues/4530
Sam Lantinga 4 жил өмнө
parent
commit
609cea1eb8

+ 3 - 0
include/SDL_cpuinfo.h

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