aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mono/files/patch-mono_metadata_class.c
blob: 5150caa94ea048d1c0e7ced6824ed5342504b964 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- mono/metadata/class.c.orig  2008-11-01 01:58:37.000000000 -0300
+++ mono/metadata/class.c   2008-11-01 02:01:35.000000000 -0300
@@ -7449,7 +7449,10 @@
 gboolean
 mono_class_generic_sharing_enabled (MonoClass *class)
 {
-#if defined(__i386__) || defined(__x86_64__)
+#if defined(__FreeBSD__) && defined(__x86_64__)
+/* https://bugzilla.novell.com/show_bug.cgi?id=434457 */
+   static gboolean supported = FALSE;
+#elif defined(__i386__) || defined(__x86_64__)
    static gboolean supported = TRUE;
 #else
    /* Not supported by the JIT backends */