From 800a312a56abc34e98c5b2474260adc8c4faccd7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 20 Sep 2002 21:49:26 +0000 Subject: * sysdeps/generic/gmp-mparam.h: Include . (BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB, BITS_PER_LONGINT): Define in terms of __WORDSIZE. * sysdeps/x86_64/gmp-mparam.h: File removed. * sysdeps/sparc/gmp-mparam.h: File removed. * sysdeps/mips/mips64/gmp-mparam.h: File removed. * sysdeps/ia64/gmp-mparam.h: File removed. * sysdeps/alpha/gmp-mparam.h: File removed. --- sysdeps/generic/gmp-mparam.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'sysdeps/generic') diff --git a/sysdeps/generic/gmp-mparam.h b/sysdeps/generic/gmp-mparam.h index 14bcaec..6fc7429 100644 --- a/sysdeps/generic/gmp-mparam.h +++ b/sysdeps/generic/gmp-mparam.h @@ -1,6 +1,5 @@ /* gmp-mparam.h -- Compiler/machine parameter header file. - -Copyright (C) 1991, 1993, 1994 Free Software Foundation, Inc. +Copyright (C) 1991,93,94,2002 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -19,9 +18,11 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define BITS_PER_MP_LIMB 32 -#define BYTES_PER_MP_LIMB 4 -#define BITS_PER_LONGINT 32 -#define BITS_PER_INT 32 -#define BITS_PER_SHORTINT 16 -#define BITS_PER_CHAR 8 +#include + +#define BITS_PER_MP_LIMB __WORDSIZE +#define BYTES_PER_MP_LIMB (__WORDSIZE / 8) +#define BITS_PER_LONGINT __WORDSIZE +#define BITS_PER_INT 32 +#define BITS_PER_SHORTINT 16 +#define BITS_PER_CHAR 8 -- cgit v1.1