From 43db1aa57b4a76f8f20cf1b8468b60fccda6d442 Mon Sep 17 00:00:00 2001 From: Miriam Ruiz Date: Wed, 3 Dec 2008 12:15:38 +0100 Subject: [PATCH] Fixes building problem on all 64 bit arches MASK_WORD_BITBITS was not defined right for those architectures See: http://bugs.debian.org/311840 --- include/pmask.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/pmask.h b/include/pmask.h index 7455a39..e1ec9d4 100644 --- a/include/pmask.h +++ b/include/pmask.h @@ -43,9 +43,12 @@ extern "C" { //MASK_WORD_BITBITS should be the log base 2 //of the number of bits in MASK_WORD_TYPE -//e.g. 4 for 16-bit ints, 5 for 32-bit ints, 6 for 64-bit ints +//e.g. 4 for 16-bit ints, 5 for 32-bit ints, 6 for 64-bit ints +#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__) +#define MASK_WORD_BITBITS 6 +#else #define MASK_WORD_BITBITS 5 - +#endif //if SINGLE_MEMORY_BLOCK is defined //then each mask will be allocated as -- 2.11.4.GIT