Browse Source

fix RTF_MULTICAST and g++ -w

pull/1/head
Daniel Skowroński 9 years ago
parent
commit
18c9dc8a06
  1. 2
      make-netbsd.mk
  2. 4
      node/Constants.hpp

2
make-netbsd.mk

@ -34,7 +34,7 @@ else
STRIP=strip --strip-all STRIP=strip --strip-all
endif endif
CXXFLAGS+=$(CFLAGS) -fno-rtti -fpermissive -w CXXFLAGS+=$(CFLAGS) -fno-rtti -fpermissive
all: one all: one

4
node/Constants.hpp

@ -124,6 +124,10 @@
#include <endian.h> #include <endian.h>
#endif #endif
#ifdef __NetBSD__
#define RTF_MULTICAST 0x20000000
#endif
/** /**
* Length of a ZeroTier address in bytes * Length of a ZeroTier address in bytes
*/ */

Loading…
Cancel
Save