mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-06 09:55:46 +00:00
tests: stub out virfilewrapper.c on Win32
The Win32 platform can not do link time overrides in the same way that we can on POSIX / ELF based platforms, so we cannot build the virfilewrapper.c code reliably. Just stub it out on Win32 so it is a no-op. Tests that use this file are already written to skip on Win32. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
bf12395230
commit
300c7c7035
@ -18,6 +18,8 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
# include <stdio.h>
|
||||
# include <stdlib.h>
|
||||
# include <fcntl.h>
|
||||
@ -278,3 +280,4 @@ DIR *opendir(const char *path)
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user