Skip to content

Commit 83fe205

Browse files
committed
Check if generated files are up to date patch
1 parent 31731b1 commit 83fe205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_threadmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static PF_GET_THREAD_DESCRIPTION pGetThreadDescription = NULL;
7878
static PF_SET_THREAD_DESCRIPTION pSetThreadDescription = NULL;
7979
#endif
8080

81-
#ifndef MS_WINDOWS
81+
#if defined(HAVE_PTHREAD_SETNAME_NP) || defined(HAVE_PTHREAD_SET_NAME_NP)
8282
static int _set_thread_name(const char *name);
8383
#endif
8484

0 commit comments

Comments
 (0)