Use MSG_NONBLOCK when MSG_DONTWAIT doesn't exist

This commit is contained in:
Anton Lundin
2012-11-30 00:56:05 +01:00
parent 55eb2759c0
commit 99dc1f93cf
+4
View File
@@ -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;