summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-26 11:09:29 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-26 11:09:29 +0000
commit07298aba22284e3eadc7d250205f365e3ff20d37 (patch)
treec9508f5f421684b00b6697c1fe0f1122050447bc /pack.c
parentd191b742bd0c1c9145023768ffd6e6d93f2b6077 (diff)
* pack.c (QUAD_SIZE): it should be always 8.
* bignum.c (rb_quad_pack): use LONG_LONG version only if SIZEOF_LONG_LONG == QUAD_SIZE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/pack.c b/pack.c
index 94fa5b59a2..cfaec60354 100644
--- a/pack.c
+++ b/pack.c
@@ -266,11 +266,7 @@ num2i32(VALUE x)
return 0; /* not reached */
}
-#ifdef HAVE_LONG_LONG
-# define QUAD_SIZE SIZEOF_LONG_LONG
-#else
-# define QUAD_SIZE 8
-#endif
+#define QUAD_SIZE 8
static const char toofew[] = "too few arguments";
static void encodes(VALUE,const char*,long,int,int);