Parcourir la source

Enable SSE3 intrinsics when building with Visual Studio

Fixes https://github.com/libsdl-org/SDL/issues/4530
Sam Lantinga il y a 4 ans
Parent
commit
609cea1eb8
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      include/SDL_cpuinfo.h

+ 3 - 0
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 <intrin.h>
 #if !defined(SDL_DISABLE_ARM_NEON_H) && defined(__ARM_NEON)