]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix Win32 portability problems
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 7 Apr 2010 15:06:43 +0000 (16:06 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 8 Apr 2010 11:01:57 +0000 (12:01 +0100)
commit3d3af088790263d4e2841a85f0aab1e993f74024
treec51995e9c3507f3cc06a2ac54350f3d36766f669
parent9fd54a78dcafebf63d74a2e0a83167393c017402
Fix Win32 portability problems

The network filter / snapshot / hooks code introduced some
non-portable pices that broke the win32 build

* configure.ac: Check for net/ethernet.h required by nwfile config
   parsing code
* src/conf/nwfilter_conf.c: Define ethernet protocol  constants
  if net/ethernet.h is missing
* src/util/hooks.c: Disable hooks build on Win32 since it lacks
  fork/exec/pipe
* src/util/threads-win32.c: Fix unchecked return value
* tools/virsh.c: Disable SIGPIPE on Win32 since it doesn't exist.
  Fix non-portable strftime() formats
configure.ac
src/conf/nwfilter_conf.c
src/util/hooks.c
src/util/threads-win32.c
tools/virsh.c