mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
Be less intrusive with non-ld-savvy users
This commit is contained in:
1 parent
7e0d06689e
commit
f7cf4f60ef
2 files changed
+2
-10
No files matched your search
+1
-5
@@ -3206,12 +3206,8 @@ struct mg_tcpip_spi {
|
|||||||
#endif // 64BYTE_ALIGNED
|
#endif // 64BYTE_ALIGNED
|
||||||
|
|
||||||
#ifndef MG_ETH_RAM
|
#ifndef MG_ETH_RAM
|
||||||
#if defined(__GNUC__)
|
|
||||||
#define MG_ETH_RAM __attribute__((section(".eth_ram")))
|
|
||||||
#else
|
|
||||||
#define MG_ETH_RAM
|
#define MG_ETH_RAM
|
||||||
#endif // compiler
|
#endif
|
||||||
#endif // ETH_RAM
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
+1
-5
@@ -142,11 +142,7 @@ struct mg_tcpip_spi {
|
|||||||
#endif // 64BYTE_ALIGNED
|
#endif // 64BYTE_ALIGNED
|
||||||
|
|
||||||
#ifndef MG_ETH_RAM
|
#ifndef MG_ETH_RAM
|
||||||
#if defined(__GNUC__)
|
|
||||||
#define MG_ETH_RAM __attribute__((section(".eth_ram")))
|
|
||||||
#else
|
|
||||||
#define MG_ETH_RAM
|
#define MG_ETH_RAM
|
||||||
#endif // compiler
|
#endif
|
||||||
#endif // ETH_RAM
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Reference in new issue
Block a user