Skip to content

Commit

Permalink
thread.c: removed SetThreadDescription ptype [Win]
Browse files Browse the repository at this point in the history
already included in MinGW headers, moreover with additiona `__declspec
(dllimport)` attribute.
  • Loading branch information
MartinPulec committed Nov 8, 2023
1 parent a71264a commit ea9558c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
#include <libgen.h>
#ifdef HAVE_SETTHREADDESCRIPTION
#include <processthreadsapi.h>
// TODO: not yet present in MinGW headers - remove when available
HRESULT SetThreadDescription( HANDLE hThread, PCWSTR lpThreadDescription);
#endif

#include "debug.h"
Expand Down

0 comments on commit ea9558c

Please sign in to comment.