Skip to content

Commit

Permalink
mingw: Add missing GetThreadDescription definition
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Jan 26, 2023
1 parent a0ab0e2 commit 3dc58f4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions compat/mingw/winnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,16 @@ struct PROCESSOR_POWER_INFORMATION {
#define PROCESSOR_ARCHITECTURE_ARM32_ON_WIN64 13
#endif

#include <apisetcconv.h>

#ifdef __cplusplus
extern "C" {
#endif

WINBASEAPI HRESULT WINAPI GetThreadDescription(HANDLE,PWSTR *);

#ifdef __cplusplus
}
#endif

#endif // CRASHPAD_COMPAT_MINGW_WINNT_H_

0 comments on commit 3dc58f4

Please sign in to comment.