[libvirt PATCH 3/4] tests: don't mock the time() function on mingw

Michal Privoznik mprivozn at redhat.com
Thu Jul 23 14:28:48 UTC 2020

On 7/22/20 7:21 PM, Daniel P. Berrangé wrote:
> The mingw header define time() as a static inline function and this
> causes a duplicate definition build failure. Since we're not using the
> LD_PRELOAD at all on Mingw, we ideally wouldn't compile any of the
> mock libraries. Rather than change the build system now though, this
> just stubs out the offending function.
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>   tests/virnetdaemonmock.c | 2 ++
>   1 file changed, 2 insertions(+)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>


More information about the libvir-list mailing list