From fd0975b96b16d96010dce439af9620d3dfb65426 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 6 Nov 2021 20:40:20 -0400 Subject: sim: arm/bfin/rx: undefine page size from system headers Some targets (like cygwin) will export page size defines that clash with our local usage here. Undefine the system one to fix building for these targets. --- sim/arm/armvirt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sim/arm') diff --git a/sim/arm/armvirt.c b/sim/arm/armvirt.c index ba01a65..c162ba7 100644 --- a/sim/arm/armvirt.c +++ b/sim/arm/armvirt.c @@ -46,6 +46,7 @@ #endif +#undef PAGESIZE /* Cleanup system headers. */ #define NUMPAGES 64 * 1024 #define PAGESIZE 64 * 1024 #define PAGEBITS 16 -- cgit v1.1