Quellcode durchsuchen

Enable SSE3 intrinsics when building with Visual Studio

Fixes https://github.com/libsdl-org/SDL/issues/4530
Sam Lantinga vor 3 Jahren
Ursprung
Commit
609cea1eb8
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  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)