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

Re: [Libguestfs] [PATCH] Mac OS X: Fixed combination of running autogen.sh on Linux and building on Mac OS X



On Sun, Aug 26, 2012 at 07:32:04PM +0900, Masami HIRATA wrote:
> 
> Signed-off-by: Masami HIRATA <msmhrt gmail com>
> ---
>  generator/generator_xdr.ml |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/generator/generator_xdr.ml b/generator/generator_xdr.ml
> index 9acea8f..ef9e0f2 100644
> --- a/generator/generator_xdr.ml
> +++ b/generator/generator_xdr.ml
> @@ -40,6 +40,7 @@ let generate_xdr () =
>    generate_header CStyle LGPLv2plus;
>  
>    (* This has to be defined to get around a limitation in Mac OS X's rpcgen. *)
> +  pr "%%#include <config.h>\n";
>    pr "#if HAVE_XDR_U_INT64_T\n";
>    pr "#define uint64_t u_int64_t\n";
>    pr "%%#if HAVE_XDR_UINT64_T\n";
> -- 
> 1.7.9.6 (Apple Git-31.1)

Thanks, I've applied it here and will push this shortly.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw


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