NaCl runtime fixes
[mono.git] / mono / metadata / boehm-gc.c
index d9d9b4e455d394fe557191c50ae4d0d0342ffeee..9e5ab87ac9c09e9f393f4e6f15ed39cf872a75ec 100644 (file)
@@ -74,7 +74,7 @@ mono_gc_base_init (void)
         * we used to do this only when running on valgrind,
         * but it happens also in other setups.
         */
-#if defined(HAVE_PTHREAD_GETATTR_NP) && defined(HAVE_PTHREAD_ATTR_GETSTACK)
+#if defined(HAVE_PTHREAD_GETATTR_NP) && defined(HAVE_PTHREAD_ATTR_GETSTACK) && !defined(__native_client__)
        {
                size_t size;
                void *sstart;