From 6c1bfeaf79a0c4c00df968584d3237714442aaee Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Wed, 20 Jan 2021 14:50:03 +0700 Subject: [PATCH] Use MAIKO_ARCH_SPARC rather than `sparc`. (#252) --- inc/version.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/inc/version.h b/inc/version.h index 7fd7f70..aa46a2f 100644 --- a/inc/version.h +++ b/inc/version.h @@ -211,13 +211,11 @@ error Must specify RELEASE to build Medley. - /********************************************************/ - /* */ - /********************************************************/ -#ifdef sparc - /* SPARCs and MIPSs can't do unaligned word-loads */ +/* Not all platforms want to do unaligned reads, so + * we will disable those here. */ +#if defined(MAIKO_ARCH_SPARC) #undef UNALIGNED_FETCH_OK -#endif /* SPARC */ +#endif