summaryrefslogtreecommitdiffstats
path: root/common/marshaller.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-06-18 21:10:25 +0200
committerAlexander Larsson <alexl@redhat.com>2010-06-18 21:10:25 +0200
commitae4436215cb113a02eac73c6afd368166090967c (patch)
tree8d144ec5908ada3b363dd4b24a6143f45cdd861b /common/marshaller.c
parent0f2e0378348f87c8e408a1db59783e1d9c00d68d (diff)
downloadspice-ae4436215cb113a02eac73c6afd368166090967c.tar.gz
spice-ae4436215cb113a02eac73c6afd368166090967c.tar.xz
spice-ae4436215cb113a02eac73c6afd368166090967c.zip
Make generated marshallers build on win32
Diffstat (limited to 'common/marshaller.c')
-rw-r--r--common/marshaller.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/marshaller.c b/common/marshaller.c
index 13385e59..5844b897 100644
--- a/common/marshaller.c
+++ b/common/marshaller.c
@@ -491,6 +491,7 @@ void spice_marshaller_flush(SpiceMarshaller *m)
}
}
+#ifndef WIN32
int spice_marshaller_fill_iovec(SpiceMarshaller *m, struct iovec *vec,
int n_vec, size_t skip_bytes)
{
@@ -522,6 +523,7 @@ int spice_marshaller_fill_iovec(SpiceMarshaller *m, struct iovec *vec,
return v;
}
+#endif
void spice_marshaller_add_uint64(SpiceMarshaller *m, uint64_t v)
{