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.
Loading
Please register or sign in to comment