Closed ehmry closed 6 years ago
Mmap has been in POSIX since 1992, so I would think it would be ubiquitous, but I could be wrong.
I can definitely tell you from personal experience it is not ubiquitous at all on these console SDKs. You cannot assume its presence.
TIL. Now with HAVE_MMAP.
OK, thanks.
OK, regarding mmap, it might be prudent to come up with a HAVE_MMAP ifdef since some targets such as game consoles might not have mmap support at all. Or will dynarecs simply not be compiled in for those targets? If so, we might be able to do without ifdefs then.