[libvirt] [PATCH] Fix commandhelper build on win32

21 Sep
2017
21 Sep
'17
3:57 a.m.
For win32 we need EXIT_AM_SKIP which is in testutils.h. We must define NO_LIBVIRT to prevent replacement of fprintf with virFilePrintf as we can't link to libvirt_util.la Signed-off-by: Daniel P. Berrange <berrange@redhat.com> --- Pushed as a build fix tests/commandhelper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/commandhelper.c b/tests/commandhelper.c index e9e6353f3..1da2834aa 100644 --- a/tests/commandhelper.c +++ b/tests/commandhelper.c @@ -28,6 +28,8 @@ #include <sys/stat.h> #include "internal.h" +#define NO_LIBVIRT +#include "testutils.h" #ifndef WIN32 -- 2.13.5
2910
Age (days ago)
2910
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniel P. Berrange