From: Daniel P. Berrange Date: Mon, 15 Apr 2013 15:58:56 +0000 (+0100) Subject: Add empty stub for virThreadCancel on Win32 X-Git-Tag: v1.0.5-rc1~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd856af62b5fc2086706fd3941f1842de1ddb6a0;p=thirdparty%2Flibvirt.git Add empty stub for virThreadCancel on Win32 Win32 does not like undefined symbols, so define an empty virThreadCancel impl. Signed-off-by: Daniel P. Berrange --- diff --git a/src/util/virthreadwin32.c b/src/util/virthreadwin32.c index 0ad7e5c570..4543ad864e 100644 --- a/src/util/virthreadwin32.c +++ b/src/util/virthreadwin32.c @@ -357,6 +357,8 @@ void virThreadJoin(virThreadPtr thread) } } +void virThreadCancel(virThreadPtr thread ATTRIBUTE_UNUSED) +{} int virThreadLocalInit(virThreadLocalPtr l, virThreadLocalCleanup c)