Commit 02c02195 authored by James Ross-Gowan's avatar James Ross-Gowan

demos/sdl2: fix mingw-w64 compatibility by removing mmap

Win32 compatible mmap() implementations exist, but it's easier to just
read the file into malloc() allocated memory. This uses fseeko() and
ftello(), which are available in POSIX and mingw-w64.
parent 12aab84a
Pipeline #6587 passed with stages
in 1 minute and 34 seconds