summaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-char.c')
-rw-r--r--qemu-char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-char.c b/qemu-char.c
index 6ec90594e3..2144d1a471 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -1920,7 +1920,7 @@ static int tcp_get_msgfd(CharDriverState *chr)
return s->msgfd;
}
-#ifndef WIN32
+#ifndef _WIN32
static void unix_process_msgfd(CharDriverState *chr, struct msghdr *msg)
{
TCPCharDriver *s = chr->opaque;