openbsd-ports/lang/mono/patches/patch-mono_utils_mono-context_h
2018-05-23 12:40:53 +00:00

15 lines
505 B
Plaintext

$OpenBSD: patch-mono_utils_mono-context_h,v 1.2 2018/05/23 12:40:53 robert Exp $
Index: mono/utils/mono-context.h
--- mono/utils/mono-context.h.orig
+++ mono/utils/mono-context.h
@@ -41,7 +41,7 @@ typedef __m128d MonoContextSimdReg;
#elif defined(HOST_ANDROID)
#define MONO_HAVE_SIMD_REG
typedef struct _libc_xmmreg MonoContextSimdReg;
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__OpenBSD__)
#define MONO_HAVE_SIMD_REG
#include <emmintrin.h>
typedef __m128d MonoContextSimdReg;