[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] PATCH: Re-enable ESX driver on Mingw32



2009/7/30 Daniel P. Berrange <berrange redhat com>:
> After finding an RPM of mingw32-curl for Fedora 11, I was able to
> successfully build the ESX driver on Ming32 with only a couple of
> tweaks.
>
> Daniel
>
> commit 8b135962ef026ef3ef1b5c5163b1213eeba9ec36
> Author: Daniel P. Berrange <berrange redhat com>
> Date:   Thu Jul 30 16:40:29 2009 +0100
>
>    Enable ESX driver build on Mingw32
>
>    * autobuild.sh, mingw32-libvirt.spec.in: Enable esx on mingw32
>    * src/esx/esx_driver.c: Define AI_ADDRCONFIG if not set
>    * src/esx/esx_util.c, src/esx/esx_vi_types.c: Always use
>      %lld & friends, since gnulib guarentees we have these
>      and not the target's own variants
>

Looks good.

As this removes all usage of PRIi32/PRIi64 you can also remove

#define __STDC_FORMAT_MACROS
#include <inttypes.h>

from esx_driver.c and esx_vi_types.c

Matthias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]