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:
Daniel P. Berrange 2012-08-20 15:59:31 +01:00
parent e68ee5e765
commit 6a48179803
2 changed files with 5 additions and 5 deletions

View File

@ -52,6 +52,11 @@
#include "virtypedparam.h"
#include "xml.h"
/* Gnulib doesn't guarantee SA_SIGINFO support. */
#ifndef SA_SIGINFO
# define SA_SIGINFO 0
#endif
static const char *
vshDomainVcpuStateToString(int state)
{

View File

@ -223,11 +223,6 @@ out:
*/
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:
*