Merge pull request #2945 from kachanovskiy/master

Fix build break when SIO_LOOPBACK_FAST_PATH is not defined (i.e. in VS2010)
This commit is contained in:
Luca Boccassi 2018-02-13 22:29:38 +00:00 committed by GitHub
commit 487c275809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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_)
{
#if defined ZMQ_HAVE_WINDOWS
#if defined ZMQ_HAVE_WINDOWS && defined SIO_LOOPBACK_FAST_PATH
int sio_loopback_fastpath = 1;
DWORD numberOfBytesReturned = 0;