Mac OS X: Fixed combination of running autogen.sh on Linux and building on Mac OS X

Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
This commit is contained in:
Masami HIRATA
2012-08-26 19:32:04 +09:00
committed by Richard W.M. Jones
parent d555a68ca6
commit 0a275bd090

View File

@@ -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";