* 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:
parent
7bc77b76fe
commit
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>
|
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
|
* process.c (fork_daemon): kill the other threads all and abandon the
|
||||||
|
8
bignum.c
8
bignum.c
@ -34,12 +34,14 @@ static VALUE big_three = Qnil;
|
|||||||
#define USHORT _USHORT
|
#define USHORT _USHORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_INT64_T) && defined(HAVE_INT128_T)
|
#ifndef SIZEOF_BDIGIT_DBL
|
||||||
|
# if defined(HAVE_INT64_T) && defined(HAVE_INT128_T)
|
||||||
# define SIZEOF_BDIGIT_DBL SIZEOF_INT128_T
|
# define SIZEOF_BDIGIT_DBL SIZEOF_INT128_T
|
||||||
#elif SIZEOF_INT*2 <= SIZEOF_LONG_LONG
|
# elif SIZEOF_INT*2 <= SIZEOF_LONG_LONG
|
||||||
# define SIZEOF_BDIGIT_DBL SIZEOF_LONG_LONG
|
# define SIZEOF_BDIGIT_DBL SIZEOF_LONG_LONG
|
||||||
#else
|
# else
|
||||||
# define SIZEOF_BDIGIT_DBL SIZEOF_LONG
|
# define SIZEOF_BDIGIT_DBL SIZEOF_LONG
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user