X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxmem.c;h=42755e52957396bfe2a74319382b66f6ecb4d17f;hb=15fdca99d6bb8e2d3346d468af163973218f0391;hp=14e7a9e9478faf907c19a300896ac65adbc74ca4;hpb=71012b7bb948465c33ae3d22123388ad0eed6deb;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c index 14e7a9e9..42755e52 100644 --- a/libpcsxcore/psxmem.c +++ b/libpcsxcore/psxmem.c @@ -44,7 +44,7 @@ static void * psxMapDefault(unsigned long addr, size_t size, int is_fixed, enum psxMapTag tag) { -#if !HAVE_MMAP +#if !P_HAVE_MMAP void *ptr; ptr = malloc(size); @@ -59,7 +59,7 @@ static void * psxMapDefault(unsigned long addr, size_t size, static void psxUnmapDefault(void *ptr, size_t size, enum psxMapTag tag) { -#if !HAVE_MMAP +#if !P_HAVE_MMAP free(ptr); #else munmap(ptr, size);