mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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:
committed by
Blue Swirl
parent
5efb397f87
commit
6defcc3784
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user