--- cairo-fixed-private.h.orig 2008-04-10 03:01:04.000000000 +0900 +++ cairo-fixed-private.h 2008-04-10 03:12:43.000000000 +0900 @@ -101,7 +101,11 @@ #define CAIRO_MAGIC_NUMBER_FIXED_16_16 (103079215104.0) #if CAIRO_FIXED_BITS <= 32 -#define CAIRO_MAGIC_NUMBER_FIXED ((1LL << (52 - CAIRO_FIXED_FRAC_BITS)) * 1.5) +#ifdef _MSC_VER +# define CAIRO_MAGIC_NUMBER_FIXED ((1i64 << (52 - CAIRO_FIXED_FRAC_BITS)) * 1.5) +#else +# define CAIRO_MAGIC_NUMBER_FIXED ((1LL << (52 - CAIRO_FIXED_FRAC_BITS)) * 1.5) +#endif /* For 32-bit fixed point numbers */ static inline cairo_fixed_t