Use MSG_NONBLOCK when MSG_DONTWAIT doesn't exist
This commit is contained in:
@@ -47,6 +47,10 @@
|
|||||||
|
|
||||||
#include "timestamp.h"
|
#include "timestamp.h"
|
||||||
|
|
||||||
|
#ifndef MSG_DONTWAIT
|
||||||
|
#define MSG_DONTWAIT MSG_NONBLOCK
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace Network;
|
using namespace Network;
|
||||||
using namespace Crypto;
|
using namespace Crypto;
|
||||||
|
|||||||
Reference in New Issue
Block a user