Explorar o código

Fixed bug 5436 - MSVC 2019 ARM64 build fails to compile SDL_stretch.c

Sylvain Becker %!s(int64=4) %!d(string=hai) anos
pai
achega
acccc71f27
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video/SDL_stretch.c

+ 1 - 1
src/video/SDL_stretch.c

@@ -613,7 +613,7 @@ scale_mat(const Uint32 *src, int src_w, int src_h, int src_pitch,
 #endif
 
 /* TODO: this didn't compile on Window10 universal package last time I tried .. */
-#if defined(__WINRT__)
+#if defined(__WINRT__) || defined(_MSC_VER)
 #  if defined(HAVE_NEON_INTRINSICS)
 #    undef HAVE_NEON_INTRINSICS
 #  endif