mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-27 03:35:38 +00:00
IF_NAMESIZE: define it only if it's not defined before by system headers
This commit is contained in:
parent
d58e0f1a1a
commit
e9000658fb
@ -49,7 +49,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef IF_NAMESIZE
|
||||
#define IF_NAMESIZE NETIF_NAMESIZE
|
||||
#endif
|
||||
|
||||
char * lwip_if_indextoname(unsigned int ifindex, char *ifname);
|
||||
unsigned int lwip_if_nametoindex(const char *ifname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user