diff options
author | Steven McCoy <steven.mccoy@miru.hk> | 2010-09-30 11:33:35 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-09-30 11:33:35 +0200 |
commit | eaa925eca7a3e0c64d184a4a96fec139166a7470 (patch) | |
tree | 70bdb2391b3147fc1606d594651c4edd1abd61a5 /src | |
parent | ec2e85919e4a34a313e6d0df84cc421bc9682ad8 (diff) |
FreeBSD doesn't define MSG_ERRQUEUE -- now it's defined in 0MQ
Diffstat (limited to 'src')
-rw-r--r-- | src/pgm_socket.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pgm_socket.cpp b/src/pgm_socket.cpp index 6a6f549..bc5fea9 100644 --- a/src/pgm_socket.cpp +++ b/src/pgm_socket.cpp @@ -40,6 +40,10 @@ #include "uuid.hpp" #include "stdint.hpp" +#ifndef MSG_ERRQUEUE +# define MSG_ERRQUEUE 0x2000 +#endif + zmq::pgm_socket_t::pgm_socket_t (bool receiver_, const options_t &options_) : sock (NULL), options (options_), |