Skip to content

Commit

Permalink
SDL_SoftStretch: disable asm path if mprotect isn't available (see bug
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Feb 10, 2021
1 parent 6b057c6 commit 5e3cf0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/video/SDL_stretch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e3cf0d

Please sign in to comment.