Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 4edeb46676d2e1b8cee3dfcd2cca422c > files > 1

lvm2-2.02.33-3mnb2.src.rpm

diff -p -up LVM2.2.02.31/lib/report/report.c.uint64_max LVM2.2.02.31/lib/report/report.c
--- LVM2.2.02.31/lib/report/report.c.uint64_max	2008-01-16 19:00:59.000000000 +0000
+++ LVM2.2.02.31/lib/report/report.c	2008-01-23 14:21:14.000000000 +0000
@@ -24,6 +24,14 @@
 #include "str_list.h"
 #include "lvmcache.h"
 
+#ifndef UINT64_MAX
+#if __WORDSIZE == 64
+#define UINT64_MAX ULONG_MAX
+#else
+#define UINT64_MAX ULLONG_MAX
+#endif
+#endif
+
 struct lvm_report_object {
 	struct volume_group *vg;
 	struct logical_volume *lv;