[runtime] Add a FIXME.
[mono.git] / mono / metadata / sgen-marksweep-par.c
index e728ee34dfac6bc223af9f2f13ba2d9894b2e890..5bc7805c870382161815486b01628957d6d2b253 100644 (file)
@@ -1,3 +1,24 @@
+#include "config.h"
+
+#ifdef HAVE_SGEN_GC
+
+#ifndef DISABLE_SGEN_MAJOR_MARKSWEEP_PAR
+
 #define SGEN_PARALLEL_MARK
 
 #include "sgen-marksweep.c"
+
+#else
+
+#include "metadata/sgen-gc.h"
+
+void
+sgen_marksweep_par_init (SgenMajorCollector *collector)
+{
+       fprintf (stderr, "Error: Mono was configured using --enable-minimal=sgen_marksweep_par.\n");
+       exit (1);
+}      
+
+#endif /* DISABLE_SGEN_MAJOR_MARKSWEEP_PAR */
+
+#endif