Преглед на файлове

Enable SSE3 intrinsics when building with Visual Studio

Fixes https://github.com/libsdl-org/SDL/issues/4530
Sam Lantinga преди 4 години
родител
ревизия
609cea1eb8
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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)