mirror of
https://github.com/ProDOS-8/xHD.git
synced 2025-01-15 07:34:40 +00:00
7703e20cce
In contrast to the Cygwin project the MinGW project isn't about bringing *IX features to Windows. Therefore it's not surprising that Mingw-w64 doesn't include support for mmap(). Fortunately this issue as already been solved - in fact several times. I chose the implementation in https://github.com/digitalinteraction/openmovement/tree/master/Software/AX3/omconvert as it seemed straightforward. If actually using the code should show issues I'd maybe try another variant. Note: The mman.h "adapter" was added by me.