[libvirt] [PATCH] fix WIN64 compatibility bug in external EventImpl API
David Lively
dlively at virtualiron.com
Wed Nov 19 16:41:43 UTC 2008
While starting to think about Windows compability, I realized the newly
exposed API for registering an external EventImpl is not adequate.
Currently it's assuming 32-bit unix fds. But Windows uses a pointer
(HANDLE) here. So we need to generalize this interface so it can be
implemented for 64-bit Windows. The attached patch does this. (I'm
sure it conflicts with work Dan B is doing, so I'm hoping he'll just
incorporate this into his changes.)
Dave
include/libvirt/libvirt.h.in | 24 +++++++++++++++---------
src/event.c | 18 +++++++++---------
2 files changed, 24 insertions(+), 18 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allow-win64-eventimpl.patch
Type: text/x-patch
Size: 4016 bytes
Desc:
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081119/be82df67/attachment-0001.bin>
More information about the libvir-list
mailing list