Fix for build break when SIO_LOOPBACK_FAST_PATH is not defined (i.e. in VS2010)

This commit is contained in:
Kachanovskiy
2018-02-13 23:04:08 +01:00
parent bc467f0631
commit e10464e45e

View File

@@ -335,7 +335,7 @@ void zmq::tcp_assert_tuning_error (zmq::fd_t s_, int rc_)
void zmq::tcp_tune_loopback_fast_path (const fd_t socket_) void zmq::tcp_tune_loopback_fast_path (const fd_t socket_)
{ {
#if defined ZMQ_HAVE_WINDOWS #if defined ZMQ_HAVE_WINDOWS && defined SIO_LOOPBACK_FAST_PATH
int sio_loopback_fastpath = 1; int sio_loopback_fastpath = 1;
DWORD numberOfBytesReturned = 0; DWORD numberOfBytesReturned = 0;