summaryrefslogtreecommitdiffstats
path: root/bignum.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-04 15:32:19 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-06-04 15:32:19 +0000
commit2c8722f5e5dbc84690f0fe5b6c51c6e2225033fa (patch)
tree08da200159c51082912ea820f937565c6076af6c /bignum.c
parentee861f7ca77d7515d2a0f1506444b273e9ebcc54 (diff)
downloadruby-2c8722f5e5dbc84690f0fe5b6c51c6e2225033fa.tar.gz
ruby-2c8722f5e5dbc84690f0fe5b6c51c6e2225033fa.tar.xz
ruby-2c8722f5e5dbc84690f0fe5b6c51c6e2225033fa.zip
see ChangeLog
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/bignum.c b/bignum.c
index 8fb3d3940..f4f387cd2 100644
--- a/bignum.c
+++ b/bignum.c
@@ -15,6 +15,11 @@
#include <ctype.h>
VALUE rb_cBignum;
+
+#if defined __MINGW32__
+#define USHORT _USHORT
+#endif
+
typedef unsigned short USHORT;
#define BDIGITS(x) ((USHORT*)RBIGNUM(x)->digits)