summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-02 09:04:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-11-02 09:04:54 +0000
commit58e04b755a862f9dde91b0293f1998ed26ab73f4 (patch)
treee60ccc755d2807e75147e97eddf4304075777b3f /marshal.c
parent4b9666b700e57c11a4443c3c2819a3c127ce93a6 (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/marshal.c b/marshal.c
index 7ae8848..cc1d820 100644
--- a/marshal.c
+++ b/marshal.c
@@ -18,10 +18,7 @@
double strtod();
#endif
-#if SIZEOF_LONG*2 <= SIZEOF_LONG_LONG
-typedef unsigned long BDIGIT;
-#define SIZEOF_BDIGITS SIZEOF_LONG
-#elif SIZEOF_INT*2 <= SIZEOF_LONG_LONG
+#if SIZEOF_INT*2 <= SIZEOF_LONG_LONG || SIZEOF_INT*2 <= SIZEOF___INT64
typedef unsigned int BDIGIT;
#define SIZEOF_BDIGITS SIZEOF_INT
#else