summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-26 06:56:30 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-26 06:56:30 +0000
commite301edc1c502f40806001938c74b90bcf9416766 (patch)
treeba725bb6508a034ee3cf9055fbb6d5fc5fb11530 /random.c
parentafb222575d81dac4eb68b4fe2b2f9e0e42758df4 (diff)
* random.c (N, M): undef for <winnt.h> on MinGW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r--random.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/random.c b/random.c
index 6b6d5d7045..b00675d771 100644
--- a/random.c
+++ b/random.c
@@ -133,6 +133,9 @@ genrand_real()
/* divided by 2^32 */
}
+#undef N
+#undef M
+
/* These real versions are due to Isaku Wada, 2002/01/09 added */
#include "ruby.h"