From 81bd990fb80ab40a8570c9f50d1d4705f69439fa Mon Sep 17 00:00:00 2001 From: Vova Date: Mon, 8 Nov 2021 16:04:53 +0200 Subject: [PATCH] Fix AVR build --- source/m3_compile.c | 4 ---- source/m3_config_platforms.h | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/source/m3_compile.c b/source/m3_compile.c index eaff26a..7ed3937 100644 --- a/source/m3_compile.c +++ b/source/m3_compile.c @@ -191,10 +191,6 @@ void ReleaseCompilationCodePage (IM3Compilation o) ReleaseCodePage (o->runtime, o->page); } - -static inline bool IsStackPolymorphic (IM3Compilation o); -static inline M3Result SetStackPolymorphic (IM3Compilation o); - static inline u16 GetTypeNumSlots (u8 i_type) { diff --git a/source/m3_config_platforms.h b/source/m3_config_platforms.h index 8a7fb0e..ecb5b74 100644 --- a/source/m3_config_platforms.h +++ b/source/m3_config_platforms.h @@ -95,6 +95,8 @@ #if defined(__AVR__) +#include + # define PRIu64 "llu" # define PRIi64 "lli"