summaryrefslogtreecommitdiff
path: root/lang/mono/patches/patch-dh
blob: b9d2dadea11669a90e91cd227669d5d13691e50b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-dh,v 1.5 2014/11/30 08:40:51 spz Exp $
--- mono/mini/mini-x86.c.orig	2014-10-04 09:27:43.000000000 +0000
+++ mono/mini/mini-x86.c
@@ -242,7 +242,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