Merge pull request #502 from vsrinivas/master

Define MSG_NOSIGNAL to 0 when it is not defined.  Gets OpenBSD building.
This commit is contained in:
Jeff Garzik 2011-09-06 11:58:42 -07:00
commit 074653973e

View file

@ -81,8 +81,10 @@ T* alignup(T* p)
return u.ptr; return u.ptr;
} }
#ifdef __WXMSW__ #ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0 #define MSG_NOSIGNAL 0
#endif
#ifdef __WXMSW__
#define MSG_DONTWAIT 0 #define MSG_DONTWAIT 0
#ifndef UINT64_MAX #ifndef UINT64_MAX
#define UINT64_MAX _UI64_MAX #define UINT64_MAX _UI64_MAX