Merge pull request #1840 from ludovic-henry/iolayer-thread-interrupt
[mono.git] / mono / utils / mono-threads-posix.c
index e0f93c9aafd705caad3eb082c7dae3d0a00d6a2d..b2e4bd37bcc93a8ec42eb3e9a6f844ecf36e353e 100644 (file)
@@ -251,6 +251,8 @@ mono_threads_pthread_kill (MonoThreadInfo *info, int signum)
 #elif defined(__native_client__)
        /* Workaround pthread_kill abort() in NaCl glibc. */
        return 0;
+#elif !defined(HAVE_PTHREAD_KILL)
+       g_error ("pthread_kill() is not supported by this platform");
 #else
        return pthread_kill (mono_thread_info_get_tid (info), signum);
 #endif