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 <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange 2013-04-15 16:58:56 +01:00
parent c03eff7717
commit fd856af62b

View File

@ -357,6 +357,8 @@ void virThreadJoin(virThreadPtr thread)
}
}
void virThreadCancel(virThreadPtr thread ATTRIBUTE_UNUSED)
{}
int virThreadLocalInit(virThreadLocalPtr l,
virThreadLocalCleanup c)