diff --git a/src/core/memory.h b/src/core/memory.h index aaa44aaa15..ec43c8663d 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.