From 6a7e916d9adceebc6212c09b265f36813a82dff9 Mon Sep 17 00:00:00 2001 From: Roel van Dijk Date: Mon, 26 Sep 2016 17:30:20 +0200 Subject: [PATCH] Fix tests with -integer-gmp --- tests/Consistency.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Consistency.hs b/tests/Consistency.hs index 12779f6..f84f0d1 100644 --- a/tests/Consistency.hs +++ b/tests/Consistency.hs @@ -10,9 +10,11 @@ import System.Random #if MIN_VERSION_base(4,8,0) -# if MIN_VERSION_integer_gmp(1,0,0) +# if defined MIN_VERSION_integer_gmp +# if MIN_VERSION_integer_gmp(1,0,0) -- implemented via BigNat, etc here: import Numeric.Natural +# endif # endif #endif -- #ifdef VERSION_integer_gmp