From b5b7b0baf551299e058432d58d5ab2e21d16c312 Mon Sep 17 00:00:00 2001 From: Claudio Fontana Date: Fri, 6 Jan 2006 04:52:00 +0000 Subject: * s/id-utils/idutils/g; * other small changes --- lib/regex_internal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/regex_internal.h') diff --git a/lib/regex_internal.h b/lib/regex_internal.h index a36ae4c..d10ba1e 100644 --- a/lib/regex_internal.h +++ b/lib/regex_internal.h @@ -182,6 +182,11 @@ typedef unsigned long int bitset_word; # if BITSET_WORD_BITS <= SBC_MAX # error "Invalid SBC_MAX" # endif +#elif BITSET_WORD_MAX == (0xffffffff + 2) * 0xffffffff +/* Work around a bug in PGC GNU/Linux x86-64 5.2-1 and 6.0-8 (and + probably other versions), where the preprocessor mishandles large + unsigned values and thinks they are signed. */ +# define BITSET_WORD_BITS 64 #else # error "Add case for new bitset_word size" #endif -- cgit v1.2.3