提交 07ae0c49 编写于 作者: M Massi

Fix for Linux build (warning: this means that the "name" pthread attribute...

Fix for Linux build (warning: this means that the "name" pthread attribute will almost never be used).
上级 1862eaf1
......@@ -382,7 +382,7 @@ gpointer CreateThread(WapiSecurityAttributes *security G_GNUC_UNUSED, guint32 st
*/
thr_ret = pthread_attr_init(&attr);
g_assert (thr_ret == 0);
#if ! (defined (PLATFORM_MACOSX) || defined (LINUX))
#if ! (defined (PLATFORM_MACOSX) || defined (LINUX) || defined (GC_LINUX_THREADS))
attr.name = "_MONO_";
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册