$NetBSD: patch-aa,v 1.2 2000/09/07 16:36:54 danw Exp $ --- src/numbers.c.orig Fri Aug 4 02:03:23 2000 +++ src/numbers.c Fri Aug 4 02:04:01 2000 @@ -72,8 +72,8 @@ #ifndef HAVE_GMP # if SIZEOF_LONG_LONG > SIZEOF_LONG -# define BIGNUM_MIN LONG_LONG_MIN -# define BIGNUM_MAX LONG_LONG_MAX +# define BIGNUM_MIN QUAD_MIN +# define BIGNUM_MAX QUAD_MAX # else # define BIGNUM_MIN LONG_MIN # define BIGNUM_MAX LONG_MAX @@ -704,7 +704,7 @@ if (in < LONG_MAX && in > LONG_MIN) return rep_make_long_int ((long) in); #if SIZEOF_LONG_LONG > SIZEOF_LONG - else if (in < LONG_LONG_MAX && in > LONG_LONG_MIN) + else if (in < QUAD_MAX && in > QUAD_MIN) return rep_make_longlong_int (in); #endif }