summaryrefslogtreecommitdiff
path: root/lang/mono/files/patch-libgc_configure
blob: b4bf4f00806a96070c550d55547e1c358162f72f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- libgc/configure.orig	2008-10-22 14:20:06.000000000 -0300
+++ libgc/configure	2008-12-10 10:40:48.000000000 -0300
@@ -4669,7 +4669,14 @@
 	 cat >>confdefs.h <<\_ACEOF
 #define GC_FREEBSD_THREADS 1
 _ACEOF
-
+        if test "${enable_parallel_mark}" = yes; then
+          cat >>confdefs.h <<\_ACEOF
+#define PARALLEL_MARK 1
+_ACEOF
+        fi
+        cat >>confdefs.h <<\_ACEOF
+#define THREAD_LOCAL_ALLOC 1 //only for tls=__thread. delete for pthread.
+_ACEOF
 	 if test "x$PTHREAD_CFLAGS" != "x"; then
 		INCLUDES="$INCLUDES $PTHREAD_CFLAGS"
 	fi