зеркало из https://github.com/github/ruby.git
bignum.c: sizeof_bdigit_dbl
* bignum.c (sizeof_bdigit_dbl): check sizeof(BDIGIT_DBL). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
c169b51389
Коммит
c37e6ab28d
|
@ -1,4 +1,6 @@
|
|||
Wed Jul 10 20:47:51 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Wed Jul 10 20:48:22 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* bignum.c (sizeof_bdigit_dbl): check sizeof(BDIGIT_DBL).
|
||||
|
||||
* internal.h (STATIC_ASSERT): move from enum.c.
|
||||
|
||||
|
|
2
bignum.c
2
bignum.c
|
@ -44,6 +44,8 @@ static VALUE big_three = Qnil;
|
|||
# endif
|
||||
#endif
|
||||
|
||||
STATIC_ASSERT(sizeof_bdigit_dbl, sizeof(BDIGIT_DBL) == SIZEOF_BDIGIT_DBL);
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
# define HOST_BIGENDIAN_P 1
|
||||
#else
|
||||
|
|
Загрузка…
Ссылка в новой задаче