Merged in rest of Native Client changes, untested
[mono.git] / libgc / include / gc_pthread_redirects.h
index bedcc26ac7ed202343f47092ad857676be00b6d7..520a36bf66c961af02a69a329ed48dd08ce0e664 100644 (file)
 #endif
   int GC_pthread_join(pthread_t thread, void **retval);
   int GC_pthread_detach(pthread_t thread);
+#if defined(__native_client__) || defined(NACL)
+  void GC_pthread_exit(void *status);
+# undef pthread_exit
+# define pthread_exit GC_pthread_exit
+#endif
 
 #if defined(GC_OSF1_THREADS) \
     && defined(_PTHREAD_USE_MANGLED_NAMES_) && !defined(_PTHREAD_USE_PTDNAM_)