1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 05:03:07 +00:00

fix(legacy): ignore compiler check for emulator

[no changelog]
This commit is contained in:
Andrew Kozlik 2021-11-09 12:53:54 +01:00 committed by Andrew Kozlik
parent 9b9f6859d6
commit 05cbda4a7a

View File

@ -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 \