X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxmem.c;h=42755e52957396bfe2a74319382b66f6ecb4d17f;hb=9165d434d935746da54484381ebbee754e899680;hp=14e7a9e9478faf907c19a300896ac65adbc74ca4;hpb=cddc7ca96ddefe7acabac845b4ec99cf72b3e6fc;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);