1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
akr 2013-07-10 11:10:05 +00:00
parent 7bc77b76fe
commit 716c93bed1
2 changed files with 12 additions and 6 deletions

View file

@ -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

View file

@ -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