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

This commit is contained in:
Sylvain Becker 2021-01-02 22:31:44 +01:00
parent 9130f7c377
commit acccc71f27

View File

@ -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