summaryrefslogtreecommitdiff
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
commit76d09411e9db597c537bd39124db47cde2d6f3c4 (patch)
tree08da200159c51082912ea820f937565c6076af6c /bignum.c
parent5a140673903d47ca75fa612e9fc267ebc8ea380b (diff)
see ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/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 8fb3d39406..f4f387cd20 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)