From 05cbda4a7a9346a7bdd9e8db384ab2ef6c6adf4f Mon Sep 17 00:00:00 2001 From: Andrew Kozlik Date: Tue, 9 Nov 2021 12:53:54 +0100 Subject: [PATCH] fix(legacy): ignore compiler check for emulator [no changelog] --- legacy/compiler_traits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/compiler_traits.h b/legacy/compiler_traits.h index 45f895986..0d6d7f49b 100644 --- a/legacy/compiler_traits.h +++ b/legacy/compiler_traits.h @@ -29,7 +29,7 @@ #define GCC_VERSION \ (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) -#if GCC_VERSION >= 90201 && GCC_VERSION <= 100200 +#if !EMULATOR && GCC_VERSION >= 90201 && GCC_VERSION <= 100200 #pragma message \ "Only remove this GCC check if you are sure your compiler is patched or not used for production." #error \