Browse Source

Merge 61c7deaf34 into 7d946e3fc4

pull/31/merge
Deleted user 10 months ago committed by GitHub
parent
commit
6b4c95a0e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/net.cpp
  2. 5
      src/netbase.cpp

4
src/net.cpp

@ -16,6 +16,10 @@ @@ -16,6 +16,10 @@
#include <string.h>
#endif
// MSG_NOSIGNAL is not available on some platforms, if it doesn't exist define it as 0
#if !defined(MSG_NOSIGNAL)
#define MSG_NOSIGNAL 0
#endif
// Dump addresses to peers.dat every 15 minutes (900s)
#define DUMP_ADDRESSES_INTERVAL 900

5
src/netbase.cpp

@ -17,6 +17,11 @@ @@ -17,6 +17,11 @@
#endif
#endif
// MSG_NOSIGNAL is not available on some platforms, if it doesn't exist define it as 0
#if !defined(MSG_NOSIGNAL)
#define MSG_NOSIGNAL 0
#endif
#include <boost/algorithm/string/case_conv.hpp> // for to_lower()
#include <boost/algorithm/string/predicate.hpp> // for startswith() and endswith()

Loading…
Cancel
Save