diff --git a/src/video/SDL_stretch.c b/src/video/SDL_stretch.c index 1c99766a5..1d3610d0a 100644 --- a/src/video/SDL_stretch.c +++ b/src/video/SDL_stretch.c @@ -46,6 +46,10 @@ # undef USE_ASM_STRETCH # 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 #ifdef USE_ASM_STRETCH