--- primes_factory.h.orig 2010-09-02 08:11:53 +0000 +++ primes_factory.h 2010-09-09 13:41:34 +0000 @@ -29,6 +29,7 @@ #include #include #include +#include "../../config/config.h" namespace GiNaC { @@ -47,7 +48,7 @@ // or even numeric. Eventually this will be fixed). cln::cl_I last; // This ensures coefficients are immediate. - static const int immediate_bits = 8*sizeof(void *) - __alignof__(void *); + static const int immediate_bits = 8*SIZEOF_VOIDP - ALIGNOF_VOIDP; static const long opt_hint = (1L << (immediate_bits >> 1)) - 1; public: primes_factory()