From f4472a10e602b5afb3d252d641e79a2e76a7c1fd Mon Sep 17 00:00:00 2001 From: BreadFish64 Date: Sun, 18 Nov 2018 20:01:11 -0600 Subject: [PATCH] core: undef PAGE_SIZE and PAGE_MASK these are defined a system header which causes complications when building for android --- src/core/memory.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/memory.h b/src/core/memory.h index aaa44aaa1..ec43c8663 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -17,6 +17,9 @@ class Process; namespace Memory { +// Are defined in a system header +#undef PAGE_SIZE +#undef PAGE_MASK /** * Page size used by the ARM architecture. This is the smallest granularity with which memory can * be mapped.