Skip to content
Snippets Groups Projects
Commit 02c02195 authored by James Ross-Gowan's avatar James Ross-Gowan
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment