[libvirt] [PATCH] Include stdint.h in libvirt.h for INT64_MAX
Eric Blake
eblake at redhat.com
Fri Mar 11 21:25:28 UTC 2011
On 03/11/2011 02:12 PM, Matthias Bolte wrote:
>> UL still won't work on 32-bit platforms. You need the LL (or ULL) suffix.
>>
>
> And now the final v3 for something that should have been a trivial patch :)
application/mbox? Why not text/plain for the MIME type?
> +++ b/include/libvirt/libvirt.h.in
> @@ -772,7 +772,7 @@ typedef enum {
> * Macro providing the virMemoryParameter value that indicates "unlimited"
> */
>
> -#define VIR_DOMAIN_MEMORY_PARAM_UNLIMITED (INT64_MAX >> 10)
> +#define VIR_DOMAIN_MEMORY_PARAM_UNLIMITED 9007199254740991LL /* = INT64_MAX >> 10 */
ACK.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110311/35171389/attachment-0001.sig>
More information about the libvir-list
mailing list