mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-06 23:36:54 +02:00
fix RTF_MULTICAST and g++ -w
This commit is contained in:
parent
ba07d1f91d
commit
18c9dc8a06
2 changed files with 5 additions and 1 deletions
|
@ -34,7 +34,7 @@ else
|
|||
STRIP=strip --strip-all
|
||||
endif
|
||||
|
||||
CXXFLAGS+=$(CFLAGS) -fno-rtti -fpermissive -w
|
||||
CXXFLAGS+=$(CFLAGS) -fno-rtti -fpermissive
|
||||
|
||||
all: one
|
||||
|
||||
|
|
|
@ -124,6 +124,10 @@
|
|||
#include <endian.h>
|
||||
#endif
|
||||
|
||||
#ifdef __NetBSD__
|
||||
#define RTF_MULTICAST 0x20000000
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Length of a ZeroTier address in bytes
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue