mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Workaround broken limits.h on Debian etch
This commit is contained in:
parent
abb02bd18b
commit
ca1a1b06d0
@ -1,3 +1,8 @@
|
|||||||
|
Mon Dec 8 11:28:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/storage_conf.c: Workaround missing ULLONG_MAX in
|
||||||
|
Debian etch's limits.h
|
||||||
|
|
||||||
Mon Dec 8 11:17:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
Mon Dec 8 11:17:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* src/qemu_driver.c, src/uml_driver.c: Fix guest autostart
|
* src/qemu_driver.c, src/uml_driver.c: Fix guest autostart
|
||||||
|
@ -43,6 +43,11 @@
|
|||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
|
|
||||||
|
/* Work around broken limits.h on debian etch */
|
||||||
|
#if defined __GNUC__ && defined _GCC_LIMITS_H_ && ! defined ULLONG_MAX
|
||||||
|
# define ULLONG_MAX ULONG_LONG_MAX
|
||||||
|
#endif
|
||||||
|
|
||||||
#define virStorageLog(msg...) fprintf(stderr, msg)
|
#define virStorageLog(msg...) fprintf(stderr, msg)
|
||||||
|
|
||||||
VIR_ENUM_IMPL(virStoragePool,
|
VIR_ENUM_IMPL(virStoragePool,
|
||||||
|
Loading…
Reference in New Issue
Block a user