Workaround broken limits.h on Debian etch

This commit is contained in:
Daniel P. Berrange 2008-12-08 11:28:37 +00:00
parent abb02bd18b
commit ca1a1b06d0
2 changed files with 10 additions and 0 deletions

View File

@ -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>
* src/qemu_driver.c, src/uml_driver.c: Fix guest autostart

View File

@ -43,6 +43,11 @@
#include "util.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)
VIR_ENUM_IMPL(virStoragePool,