diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-06-13 20:08:47 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-06-13 20:08:47 +0300 |
commit | 35923f84e6b3d387c1608fa591fa6aa3e218175f (patch) | |
tree | 6fde0108c2e3622d77e9fc9829eba13b15241803 /src/Networking/LwipEthernet | |
parent | 9bdf603aa31c6576e3faf759f844a94f04835bfc (diff) |
More changes for 5LC
Diffstat (limited to 'src/Networking/LwipEthernet')
-rw-r--r-- | src/Networking/LwipEthernet/LwipSocket.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Networking/LwipEthernet/LwipSocket.cpp b/src/Networking/LwipEthernet/LwipSocket.cpp index 33b17fe9..0f2154ac 100644 --- a/src/Networking/LwipEthernet/LwipSocket.cpp +++ b/src/Networking/LwipEthernet/LwipSocket.cpp @@ -17,6 +17,10 @@ extern Mutex lwipMutex; // ERR_IS_FATAL was defined like this in lwip 2.0.3 file err.h but isn't in 2.1.2 #define ERR_IS_FATAL(e) ((e) <= ERR_ABRT) +#ifndef UNUSED +# define UNUSED(v) (void)(v) +#endif + //*************************************************************************************************** extern "C" { |