From 5ea2abc025cc244e2cd93d0e93704bfea295d88e Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 27 Apr 2020 23:38:36 +0200 Subject: [PATCH] config: don't use unaligned access on RISC configure.ac enables it only on x86 and m68k. Mirror it in our manual config --- libretro/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libretro/config.h b/libretro/config.h index 6452081..fb687db 100644 --- a/libretro/config.h +++ b/libretro/config.h @@ -541,7 +541,11 @@ #define WORDS_BIGENDIAN 1 #endif /* Define if unaligned word access is ok. */ +#if defined(__i386__) || defined(__x86_64__) || defined(__m68k__) #define WORDS_UNALIGNED_OK 1 +#else +#undef WORDS_UNALIGNED_OK +#endif /* Target: Standard X11. */ /* #undef X11 */