pike.git / src / post_modules / CritBit / critbit / key_bignum.h

version» Context lines:

pike.git/src/post_modules/CritBit/critbit/key_bignum.h:1: Inside #if undefined(CB_KEY_PIKEINT_H)
  #ifndef CB_KEY_PIKEINT_H   #define CB_KEY_PIKEINT_H   #include "bitvector.h"   #include "pike_int_types.h"   #include "bignum.h" + #include "critbit_machine.h"      typedef struct object * CB_NAME(string);   typedef mp_limb_t CB_NAME(char);      #ifdef cb_string   # undef cb_string   #endif   #define cb_string CB_NAME(string)      #ifdef cb_char   # undef cb_char   #endif   #define cb_char CB_NAME(char)    -  + #ifdef PIKE_GMP_LIMB_BITS_INVALID + /* Attempt to repair the header file... */ + #undef GMP_LIMB_BITS + #define GMP_LIMB_BITS (SIZEOF_MP_LIMB_T * CHAR_BIT) + #ifdef PIKE_GMP_NUMB_BITS + #undef GMP_NUMB_BITS + #define GMP_NUMB_BITS PIKE_GMP_NUMB_BITS + #endif /* PIKE_GMP_NUMB_BITS */ + #endif /* PIKE_GMP_LIMB_BITS_INVALID */ +    static inline unsigned INT32 gclz(mp_limb_t a) {   #if GMP_NUMB_BITS == 64    return clz64((UINT64)a);   #elif GMP_NUMB_BITS == 32    return clz32((unsigned INT32)a);   #else   #error Only supports limb sizes of 32 or 64 bits.   #endif   }