fix mp_div() in amd64 for the time being; maintainer ok.

This commit is contained in:
fgsch 2005-07-26 04:55:01 +00:00
parent 171c8b219a
commit f026b0613a

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-lib_silcmath_tma_h,v 1.1 2005/07/26 04:55:01 fgsch Exp $
--- lib/silcmath/tma.h.orig Tue May 10 12:02:57 2005
+++ lib/silcmath/tma.h Tue Jul 26 01:13:52 2005
@@ -48,7 +48,7 @@ extern "C" {
/* detect 64-bit mode if possible */
-#if defined(__x86_64__)
+#if defined(__x86_64__) && !defined(__OpenBSD__)
#if !(defined(MP_64BIT) && defined(MP_16BIT) && defined(MP_8BIT))
#define MP_64BIT
#endif