mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-08 08:54:54 +07:00
Be less intrusive with non-ld-savvy users
This commit is contained in:
+1
-5
@@ -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
|
||||
|
||||
|
||||
+1
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user