From f7cf4f60eff09420e2508ede95d835d7fb511d25 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Tue, 28 Oct 2025 10:08:22 -0300 Subject: [PATCH] Be less intrusive with non-ld-savvy users --- mongoose.h | 6 +----- src/net_builtin.h | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/mongoose.h b/mongoose.h index 2c33184d..22a075f3 100644 --- a/mongoose.h +++ b/mongoose.h @@ -3206,12 +3206,8 @@ struct mg_tcpip_spi { #endif // 64BYTE_ALIGNED #ifndef MG_ETH_RAM -#if defined(__GNUC__) -#define MG_ETH_RAM __attribute__((section(".eth_ram"))) -#else #define MG_ETH_RAM -#endif // compiler -#endif // ETH_RAM +#endif #endif diff --git a/src/net_builtin.h b/src/net_builtin.h index e0a989d8..e5d08482 100644 --- a/src/net_builtin.h +++ b/src/net_builtin.h @@ -142,11 +142,7 @@ struct mg_tcpip_spi { #endif // 64BYTE_ALIGNED #ifndef MG_ETH_RAM -#if defined(__GNUC__) -#define MG_ETH_RAM __attribute__((section(".eth_ram"))) -#else #define MG_ETH_RAM -#endif // compiler -#endif // ETH_RAM +#endif #endif