diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-13 03:48:17 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-13 03:48:17 +0000 |
commit | 9aa67e267b9c8d84e49464ea6f83e6f31c38efca (patch) | |
tree | 4426a07157cf827ff2c60e336a8dbef3d6d2c8ef /internal.h | |
parent | db9d8759eee7d267612d19d0cee8af0e0c6b73c3 (diff) |
* bignum.c (SIZEOF_BDIGIT): Renamed from SIZEOF_BDIGITS.
* internal.h: Ditto.
* marshal.c: Ditto.
* rational.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal.h b/internal.h index 5890fdb959..fc17da98d5 100644 --- a/internal.h +++ b/internal.h @@ -308,28 +308,28 @@ struct method_table_wrapper { #ifndef BDIGIT # if SIZEOF_INT*2 <= SIZEOF_LONG_LONG # define BDIGIT unsigned int -# define SIZEOF_BDIGITS SIZEOF_INT +# define SIZEOF_BDIGIT SIZEOF_INT # define BDIGIT_DBL unsigned LONG_LONG # define BDIGIT_DBL_SIGNED LONG_LONG # define PRI_BDIGIT_PREFIX "" # define PRI_BDIGIT_DBL_PREFIX PRI_LL_PREFIX # elif SIZEOF_INT*2 <= SIZEOF_LONG # define BDIGIT unsigned int -# define SIZEOF_BDIGITS SIZEOF_INT +# define SIZEOF_BDIGIT SIZEOF_INT # define BDIGIT_DBL unsigned long # define BDIGIT_DBL_SIGNED long # define PRI_BDIGIT_PREFIX "" # define PRI_BDIGIT_DBL_PREFIX "l" # elif SIZEOF_SHORT*2 <= SIZEOF_LONG # define BDIGIT unsigned short -# define SIZEOF_BDIGITS SIZEOF_SHORT +# define SIZEOF_BDIGIT SIZEOF_SHORT # define BDIGIT_DBL unsigned long # define BDIGIT_DBL_SIGNED long # define PRI_BDIGIT_PREFIX "h" # define PRI_BDIGIT_DBL_PREFIX "l" # else # define BDIGIT unsigned short -# define SIZEOF_BDIGITS (SIZEOF_LONG/2) +# define SIZEOF_BDIGIT (SIZEOF_LONG/2) # define SIZEOF_ACTUAL_BDIGIT SIZEOF_LONG # define BDIGIT_DBL unsigned long # define BDIGIT_DBL_SIGNED long @@ -338,7 +338,7 @@ struct method_table_wrapper { # endif #endif #ifndef SIZEOF_ACTUAL_BDIGIT -# define SIZEOF_ACTUAL_BDIGIT SIZEOF_BDIGITS +# define SIZEOF_ACTUAL_BDIGIT SIZEOF_BDIGIT #endif #ifdef PRI_BDIGIT_PREFIX |