Merge pull request #496 from nicolas-raoul/unit-test-for-issue2907
[mono.git] / mono / metadata / sgen-marksweep-par.c
1 #include "config.h"
2
3 #ifdef HAVE_SGEN_GC
4
5 #ifndef DISABLE_SGEN_MAJOR_MARKSWEEP_PAR
6
7 #define SGEN_PARALLEL_MARK
8
9 #include "sgen-marksweep.c"
10
11 #else
12
13 #include "metadata/sgen-gc.h"
14
15 void
16 sgen_marksweep_par_init (SgenMajorCollector *collector)
17 {
18         fprintf (stderr, "Error: Mono was configured using --enable-minimal=sgen_marksweep_par.\n");
19         exit (1);
20 }       
21
22 #endif /* DISABLE_SGEN_MAJOR_MARKSWEEP_PAR */
23
24 #endif