We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31731b1 commit 83fe205Copy full SHA for 83fe205
Modules/_threadmodule.c
@@ -78,7 +78,7 @@ static PF_GET_THREAD_DESCRIPTION pGetThreadDescription = NULL;
78
static PF_SET_THREAD_DESCRIPTION pSetThreadDescription = NULL;
79
#endif
80
81
-#ifndef MS_WINDOWS
+#if defined(HAVE_PTHREAD_SETNAME_NP) || defined(HAVE_PTHREAD_SET_NAME_NP)
82
static int _set_thread_name(const char *name);
83
84
0 commit comments