Skip to content

Commit

Permalink
thread: fix WIN32 mingw warning (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored Jun 11, 2023
1 parent 27ef193 commit bcf197e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/thread/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ static int handler(void *p)

#ifdef HAVE_PRCTL
(void)prctl(PR_SET_NAME, th.name);
#elif defined(WIN32)
/* Not implemented */
#elif defined(DARWIN)
(void)pthread_setname_np(th.name);
#elif defined(HAVE_PTHREAD)
Expand Down

0 comments on commit bcf197e

Please sign in to comment.