openbsd-ports/devel/silc-toolkit/patches/patch-lib_silcmath_tma_h
merdely d1c25494d6 Update to silc-toolkit-1.1.3
From brad@
"just commit it" steven@
2007-10-01 21:30:06 +00:00

13 lines
429 B
Plaintext

$OpenBSD: patch-lib_silcmath_tma_h,v 1.4 2007/10/01 21:30:06 merdely Exp $
--- lib/silcmath/tma.h.orig Sun Sep 9 11:01:52 2007
+++ lib/silcmath/tma.h Tue Sep 18 18:33:15 2007
@@ -51,7 +51,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