NaCl runtime fixes
[mono.git] / mono / profiler / decode.c
index 1f893ce8128de73911cd3db3216dcb675ccc970e..1383ae90b27e10fb2f9434cd9e856184a82fd5d3 100644 (file)
 #define HASH_SIZE 9371
 #define SMALL_HASH_SIZE 31
 
+#if defined(__native_client__) || defined(__native_client_codegen__)
+volatile int __nacl_thread_suspension_needed = 0;
+void __nacl_suspend_thread_if_needed() {}
+#endif
+
 static int debug = 0;
 static int collect_traces = 0;
 static int show_traces = 0;