openbsd-ports/net/silc-server/patches/patch-lib_silcmath_tma_h

13 lines
427 B
Plaintext
Raw Normal View History

$OpenBSD: patch-lib_silcmath_tma_h,v 1.2 2008/03/22 23:06:50 sthen Exp $
--- lib/silcmath/tma.h.orig Thu May 3 11:13:16 2007
+++ lib/silcmath/tma.h Fri Feb 29 23:36:31 2008
@@ -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