mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
use Unix mmap for OSX/macOS now
This commit is contained in:
parent
e78ec12973
commit
ff7a244f5b
@ -36,7 +36,7 @@ extern nbio_intf_t nbio_stdio;
|
||||
|
||||
#if defined(HAVE_MMAP) && defined(_linux__)
|
||||
static nbio_intf_t *internal_nbio = &nbio_linux;
|
||||
#elif defined(HAVE_MMAP) && defined(BSD) && !defined(__MACH__)
|
||||
#elif defined(HAVE_MMAP) && defined(BSD)
|
||||
static nbio_intf_t *internal_nbio = &nbio_mmap_unix;
|
||||
#elif defined(_WIN32) && !defined(_XBOX)
|
||||
static nbio_intf_t *internal_nbio = &nbio_mmap_win32;
|
||||
|
@ -20,7 +20,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#if defined(HAVE_MMAP) && defined(__linux__)
|
||||
#if defined(HAVE_MMAP) && defined(BSD)
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user