From a5df7c2e02f7397d9b0fc8817e2973fe9bf5ac3e Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 7 Dec 2025 14:17:46 -0500 Subject: [PATCH] Revert "xrick: fix sim build warning on arm with -Wundef" This reverts commit f05be27ae6863b2f8567ea47885662c90b997340. Reason for revert: Introduces warnings on all (x86) sim builds. Change-Id: I052c3569693663910a4290668b90ff444da65c75 --- apps/plugins/xrick/system/miniz_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/xrick/system/miniz_config.h b/apps/plugins/xrick/system/miniz_config.h index 195e1fc993..65899b0c23 100644 --- a/apps/plugins/xrick/system/miniz_config.h +++ b/apps/plugins/xrick/system/miniz_config.h @@ -25,11 +25,11 @@ #define MINIZ_NO_MALLOC #ifdef ROCKBOX # define MINIZ_NO_ASSERT -# define MINIZ_X86_OR_X64_CPU 0 -# define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0 # ifndef SIMULATOR +# define MINIZ_X86_OR_X64_CPU 0 # define MINIZ_HAS_64BIT_REGISTERS 0 # define TINFL_USE_64BIT_BITBUF 0 +# define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0 # endif /* ndef SIMULATOR */ #endif