From 2208dcbe51439c8008e2daab3600cbac802cd521 Mon Sep 17 00:00:00 2001 From: gladman Date: Tue, 9 Oct 2012 07:25:35 +0000 Subject: [PATCH] remove multiple definition warning in win32 build --- mpn/generic/preinv_mod_1.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mpn/generic/preinv_mod_1.c b/mpn/generic/preinv_mod_1.c index 010ea125..085f8766 100644 --- a/mpn/generic/preinv_mod_1.c +++ b/mpn/generic/preinv_mod_1.c @@ -26,6 +26,7 @@ USA. */ #include "gmp-impl.h" #include "longlong.h" +#if !HAVE_NATIVE_mpn_preinv_mod_1 /* This function used to be documented, but is now considered obsolete. It continues to exist for binary compatibility, even when not required @@ -52,3 +53,5 @@ mpn_preinv_mod_1 (mp_srcptr up, mp_size_t un, mp_limb_t d, mp_limb_t dinv) } return r; } + +#endif