summaryrefslogtreecommitdiff
path: root/lang/mono/patches/patch-dh
blob: 9520215c75421ac3483aea8febb51c09503eaf6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$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