$NetBSD: patch-di,v 1.1 2013/06/17 12:43:28 wiz Exp $ --- mono/tests/libtest.c.orig 2010-04-22 18:37:47.000000000 +0300 +++ mono/tests/libtest.c 2010-04-29 10:55:04.000000000 +0300 @@ -3190,7 +3190,7 @@ * mono_method_get_unmanaged_thunk tests */ -#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__FreeBSD__) || defined(__OpenBSD__)) || (defined(__ppc__) && defined(__APPLE__))) +#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__NetBSD__) || defined (__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)) || (defined(__ppc__) && defined(__APPLE__))) #define ALIGN(size) __attribute__ ((aligned(size))) #else #define ALIGN(size)