]> git.ipfire.org Git - thirdparty/libvirt.git/commit
examples: Work around lack of mingw sigaction()
authorEric Blake <eblake@redhat.com>
Tue, 8 Jan 2019 19:46:48 +0000 (13:46 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 8 Jan 2019 20:47:04 +0000 (14:47 -0600)
commit414afc8dbe5630d93c0d192320a8b60d35a20ea1
treefeade96f325432ee44af4f94b9d4f306db528452
parent358b6b593ec7e5afbb785be25c8525538f350850
examples: Work around lack of mingw sigaction()

mingw lacks sigaction(); we were getting it from gnulib. But since
commit acf522e8 stopped linking examples against gnulib, we are
getting a build failure. Keep the examples standalone, and work
around mingw by using signal() instead.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
examples/domtop/domtop.c
examples/object-events/event-test.c