зеркало из https://github.com/github/ruby.git
* bignum.c (SIZEOF_BDIGIT_DBL): Add a ifdef guard for test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
7bc77b76fe
Коммит
716c93bed1
|
@ -1,3 +1,7 @@
|
|||
Wed Jul 10 20:08:21 2013 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* bignum.c (SIZEOF_BDIGIT_DBL): Add a ifdef guard for test.
|
||||
|
||||
Wed Jul 10 14:18:59 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* process.c (fork_daemon): kill the other threads all and abandon the
|
||||
|
|
14
bignum.c
14
bignum.c
|
@ -34,12 +34,14 @@ static VALUE big_three = Qnil;
|
|||
#define USHORT _USHORT
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_INT64_T) && defined(HAVE_INT128_T)
|
||||
# define SIZEOF_BDIGIT_DBL SIZEOF_INT128_T
|
||||
#elif SIZEOF_INT*2 <= SIZEOF_LONG_LONG
|
||||
# define SIZEOF_BDIGIT_DBL SIZEOF_LONG_LONG
|
||||
#else
|
||||
# define SIZEOF_BDIGIT_DBL SIZEOF_LONG
|
||||
#ifndef SIZEOF_BDIGIT_DBL
|
||||
# if defined(HAVE_INT64_T) && defined(HAVE_INT128_T)
|
||||
# define SIZEOF_BDIGIT_DBL SIZEOF_INT128_T
|
||||
# elif SIZEOF_INT*2 <= SIZEOF_LONG_LONG
|
||||
# define SIZEOF_BDIGIT_DBL SIZEOF_LONG_LONG
|
||||
# else
|
||||
# define SIZEOF_BDIGIT_DBL SIZEOF_LONG
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
|
|
Загрузка…
Ссылка в новой задаче