mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-13 08:58:33 +03:00
Fix build of virsh on Win32 by moving SA_SIGINFO stub
On Win32 SA_SIGINFO is not defined, so virsh.c stub'd it out to 0, but recent changes moved the usage out of virsh.c and into virsh-domain.c
This commit is contained in:
parent
e68ee5e765
commit
6a48179803
@ -52,6 +52,11 @@
|
|||||||
#include "virtypedparam.h"
|
#include "virtypedparam.h"
|
||||||
#include "xml.h"
|
#include "xml.h"
|
||||||
|
|
||||||
|
/* Gnulib doesn't guarantee SA_SIGINFO support. */
|
||||||
|
#ifndef SA_SIGINFO
|
||||||
|
# define SA_SIGINFO 0
|
||||||
|
#endif
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
vshDomainVcpuStateToString(int state)
|
vshDomainVcpuStateToString(int state)
|
||||||
{
|
{
|
||||||
|
@ -223,11 +223,6 @@ out:
|
|||||||
*/
|
*/
|
||||||
static int disconnected = 0; /* we may have been disconnected */
|
static int disconnected = 0; /* we may have been disconnected */
|
||||||
|
|
||||||
/* Gnulib doesn't guarantee SA_SIGINFO support. */
|
|
||||||
#ifndef SA_SIGINFO
|
|
||||||
# define SA_SIGINFO 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* vshCatchDisconnect:
|
* vshCatchDisconnect:
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user