projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5efb397
)
sheepdog: fix compile error on systems without TCP_CORK
author
MORITA Kazutaka
<morita.kazutaka@lab.ntt.co.jp>
Wed, 7 Jul 2010 06:25:30 +0000
(15:25 +0900)
committer
Blue Swirl
<blauwirbel@gmail.com>
Wed, 7 Jul 2010 17:54:56 +0000
(20:54 +0300)
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>
block/sheepdog.c
patch
|
blob
|
history
diff --git
a/block/sheepdog.c
b/block/sheepdog.c
index 69a24940aa14fd47730f48e3406d5486be9d2bb4..81aa564f263a511cf5e856a4143fe036d47cd8ef 100644
(file)
--- a/
block/sheepdog.c
+++ b/
block/sheepdog.c
@@
-889,7
+889,7
@@
static int aio_flush_request(void *opaque)
return !QLIST_EMPTY(&s->outstanding_aio_head);
}
-#if
def _WIN32
+#if
!defined(SOL_TCP) || !defined(TCP_CORK)
static int set_cork(int fd, int v)
{