sheepdog: fix compile error on systems without TCP_CORK
WIN32 is not only the system which doesn't have TCP_CORK (e.g. OS X). Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
5efb397f87
commit
6defcc3784
@ -889,7 +889,7 @@ static int aio_flush_request(void *opaque)
|
||||
return !QLIST_EMPTY(&s->outstanding_aio_head);
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#if !defined(SOL_TCP) || !defined(TCP_CORK)
|
||||
|
||||
static int set_cork(int fd, int v)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user