From 76989a39e8663d4476c2b566f4af9518c5526e88 Mon Sep 17 00:00:00 2001 From: jasonmoxham Date: Sat, 3 Oct 2009 13:56:59 +0000 Subject: [PATCH] add mingw random/rand workaround --- tests/mpn/t-dc_divappr_q_n.c | 2 +- tests/mpn/t-sb_divappr_q.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mpn/t-dc_divappr_q_n.c b/tests/mpn/t-dc_divappr_q_n.c index 76f8572a..953dea12 100644 --- a/tests/mpn/t-dc_divappr_q_n.c +++ b/tests/mpn/t-dc_divappr_q_n.c @@ -27,7 +27,7 @@ MA 02110-1301, USA. */ #include "gmp-impl.h" #include "tests.h" -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__MINGW32__) #define random rand #endif diff --git a/tests/mpn/t-sb_divappr_q.c b/tests/mpn/t-sb_divappr_q.c index 221457c4..288d96c8 100644 --- a/tests/mpn/t-sb_divappr_q.c +++ b/tests/mpn/t-sb_divappr_q.c @@ -27,7 +27,7 @@ MA 02110-1301, USA. */ #include "gmp-impl.h" #include "tests.h" -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__MINGW32__) #define random rand #endif