* gc_wrapper.h: Disable thread local allocation for ARM too because of
incomplete support in libgc.
svn path=/trunk/mono/; revision=129988
+2009-03-22 Zoltan Varga <vargaz@gmail.com>
+
+ * gc_wrapper.h: Disable thread local allocation for ARM too because of
+ incomplete support in libgc.
+
2009-03-20 Zoltan Varga <vargaz@gmail.com>
* gc_wrapper.h: New file, moved from ../os.
# if defined(HAVE_KW_THREAD) && defined(USE_INCLUDED_LIBGC) && !defined(__powerpc__)
/* The local alloc stuff is in pthread_support.c, but solaris uses solaris_threads.c */
/* It is also disabled on solaris/x86 by libgc/configure.in */
-# if !defined(__sparc__) && !defined(__sun)
+ /*
+ * ARM has no definition for some atomic functions in gc_locks.h and
+ * support is also disabled in libgc/configure.in.
+ */
+# if !defined(__sparc__) && !defined(__sun) && !defined(__arm__)
# define GC_REDIRECT_TO_LOCAL
# endif
# endif