$NetBSD: patch-dh,v 1.4 2014/08/21 07:49:56 wiz Exp $ --- mono/mini/mini-x86.c.orig 2014-08-12 16:50:38.000000000 +0000 +++ mono/mini/mini-x86.c @@ -239,7 +239,7 @@ static const guint32 *callconv_param_reg } } -#if defined(TARGET_WIN32) || defined(__APPLE__) || defined(__FreeBSD__) +#if defined(TARGET_WIN32) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) #define SMALL_STRUCTS_IN_REGS static X86_Reg_No return_regs [] = { X86_EAX, X86_EDX }; #endif