Commit acccc71f2795303d1d04a2fae0cc6d7b3e26906e

Sylvain Becker 2021-01-02T22:31:44

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/SDL_stretch.c b/src/video/SDL_stretch.c
index fcae0c7..d8bb46e 100644
--- a/src/video/SDL_stretch.c
+++ b/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