]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Add empty stub for virThreadCancel on Win32
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Apr 2013 15:58:56 +0000 (16:58 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Apr 2013 16:35:30 +0000 (17:35 +0100)
Win32 does not like undefined symbols, so define an
empty virThreadCancel impl.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virthreadwin32.c

index 0ad7e5c57029964a70bbb32a435d5ac9c775ad20..4543ad864ee6d915b6980e8285ab4d506c1d49cd 100644 (file)
@@ -357,6 +357,8 @@ void virThreadJoin(virThreadPtr thread)
     }
 }
 
+void virThreadCancel(virThreadPtr thread ATTRIBUTE_UNUSED)
+{}
 
 int virThreadLocalInit(virThreadLocalPtr l,
                        virThreadLocalCleanup c)