SDL_SoftStretch: disable asm path if mprotect isn't available (see bug #3816)

This commit is contained in:
Sylvain Becker 2021-01-27 09:34:23 +01:00
parent 6b057c6783
commit 5e3cf0d1f4
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@
# undef USE_ASM_STRETCH # undef USE_ASM_STRETCH
# endif # endif
# endif # endif
/* But it doesn't work if mprotect isn't available */
# if !defined(HAVE_MPROTECT) && defined(USE_ASM_STRETCH)
# undef USE_ASM_STRETCH
# endif
#endif #endif
#ifdef USE_ASM_STRETCH #ifdef USE_ASM_STRETCH