a72a07e53d
While beeing a development release, this is the most stable version I used on OpenBSD for now. Several patches are removed as they went upstream. Thanks to jolan@ for pointing me at this release and cooking a couple of patches. Fix build on powerpc and add it to ONLY_FOR_ARCHS ; slightly tested on macppc. A similar port was successfuly tested by jolan@ on amd64. no objection alek@ (maintainer) ok jolan@ ok jasper@
17 lines
496 B
Plaintext
17 lines
496 B
Plaintext
$OpenBSD: patch-mono_utils_gc_wrapper_h,v 1.1 2009/09/06 07:25:27 ajacoutot Exp $
|
|
--- mono/utils/gc_wrapper.h.orig Tue Sep 1 14:20:56 2009
|
|
+++ mono/utils/gc_wrapper.h Tue Sep 1 14:21:25 2009
|
|
@@ -33,6 +33,12 @@
|
|
# 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>
|