Added define for osx
This commit is contained in:
parent
3b52948b3b
commit
8bf4e3cf07
1 changed files with 6 additions and 0 deletions
|
@ -60,6 +60,12 @@ THE SOFTWARE.
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__APPLE__) || defined(__MACH__)
|
||||||
|
#ifndef MSG_NOSIGNAL
|
||||||
|
#define MSG_NOSIGNAL SO_NOSIGPIPE
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "libp2p/routing/dht.h"
|
#include "libp2p/routing/dht.h"
|
||||||
|
|
||||||
#ifndef HAVE_MEMMEM
|
#ifndef HAVE_MEMMEM
|
||||||
|
|
Loading…
Reference in a new issue