[Libvir] libvirt on OS X Leopard 10.5.1

Daniel P. Berrange berrange at redhat.com
Mon Jan 21 23:46:04 UTC 2008

On Mon, Jan 21, 2008 at 05:27:33PM -0600, Schley Andrew Kutz wrote:
> Hash: SHA1
> Ah, I knew hyper was 64-bit, but it has no definition on OS X. I  
> thought that long on OS X 10.5.1 was 64 bits in width -- my mistake.

XDR is a language for defining portable binary data formats. In the
impl of XDR, a 'long' is encoded as a 32-bit integrate, regardless of
what the C 'long' data type is. Furthermore, 'long' is actually deprecated
because its pointless having 'long' and 'int' being the same.

I'd still like to know what the compile failure you get is. If Mac OS
is merely missing the definition of the 'xdr_hyper' function, it is
quite possibly we could write a compatability function to make it work

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

More information about the libvir-list mailing list