2011-11-03 05:55:12 -04:00
|
|
|
$OpenBSD: patch-mono_utils_gc_wrapper_h,v 1.2 2011/11/03 09:55:12 ajacoutot Exp $
|
|
|
|
--- mono/utils/gc_wrapper.h.orig Tue Aug 23 02:10:06 2011
|
|
|
|
+++ mono/utils/gc_wrapper.h Thu Nov 3 08:54:45 2011
|
|
|
|
@@ -37,6 +37,12 @@
|
2009-03-14 22:19:31 -04:00
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * In the case of multithreaded code, gc.h should be included
|
|
|
|
+ * after the threads header file, and after defining GC_THREADS.
|
|
|
|
+ */
|
|
|
|
+# include <pthread.h>
|
|
|
|
+# define GC_THREADS
|
|
|
|
# ifdef HAVE_GC_GC_H
|
|
|
|
# include <gc/gc.h>
|
|
|
|
# include <gc/gc_typed.h>
|