4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-30 02:51:33 +08:00

[dfs] add IN6_IS_ADDR_MULTICAST support

in components/dfs/filesystems/net/netinet/in.h, add IN6_IS_ADDR_MULTICAST support
This commit is contained in:
MurphyZhao 2018-01-17 15:49:04 +08:00
parent 3ceadbe7ee
commit 938fa1170d

View File

@ -27,4 +27,8 @@
#include <lwip/sockets.h>
#ifndef IN6_IS_ADDR_MULTICAST
#define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
#endif
#endif