New test.
[mono.git] / mono / os / gc_wrapper.h
index c596a05ef20a59b1a353572a0bb1ecdad2080166..466057c42ae75a8c57144533449e05a8670a1a96 100644 (file)
@@ -22,7 +22,8 @@
        
 #      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 */
-#       if !defined(__sparc__)
+        /* It is also disabled on solaris/x86 by libgc/configure.in */
+#       if !defined(__sparc__) && !defined(__sun)
 #                  define GC_REDIRECT_TO_LOCAL
 #       endif
 #      endif