openbsd-ports/lang/mono/patches/patch-mono_tests_libtest_c

13 lines
739 B
Plaintext
Raw Normal View History

$OpenBSD: patch-mono_tests_libtest_c,v 1.1 2009/09/06 07:25:27 ajacoutot Exp $
--- mono/tests/libtest.c.orig Tue Sep 1 14:21:36 2009
+++ mono/tests/libtest.c Tue Sep 1 14:22:24 2009
@@ -3000,7 +3000,7 @@ mono_test_marshal_ccw_itest (MonoComObject *pUnk)
* mono_method_get_unmanaged_thunk tests
*/
-#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__FreeBSD__)) || (defined(__ppc__) && defined(__APPLE__)))
+#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__FreeBSD__) || defined (__OpenBSD__)) || (defined(__ppc__) && defined(__APPLE__)))
#define ALIGN(size) __attribute__ ((aligned(size)))
#else
#define ALIGN(size)