Skip to content

Commit f3f4387

Browse files
authored
[lldb][NFC] Fix compilation issue on windows (#76453)
1 parent 8c72ff7 commit f3f4387

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lldb/source/Plugins/Process/Windows/Common/TargetThreadWindows.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
using namespace lldb;
3030
using namespace lldb_private;
3131

32-
using GetThreadDescriptionFunctionPtr = HRESULT
33-
WINAPI (*)(HANDLE hThread, PWSTR *ppszThreadDescription);
32+
using GetThreadDescriptionFunctionPtr =
33+
HRESULT(WINAPI *)(HANDLE hThread, PWSTR *ppszThreadDescription);
3434

3535
TargetThreadWindows::TargetThreadWindows(ProcessWindows &process,
3636
const HostThread &thread)

lldb/unittests/Thread/ThreadTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ using namespace lldb;
3434
namespace {
3535

3636
#ifdef _WIN32
37-
using SetThreadDescriptionFunctionPtr = HRESULT
38-
WINAPI (*)(HANDLE hThread, PCWSTR lpThreadDescription);
37+
using SetThreadDescriptionFunctionPtr =
38+
HRESULT(WINAPI *)(HANDLE hThread, PCWSTR lpThreadDescription);
3939

4040
static SetThreadDescriptionFunctionPtr SetThreadName;
4141
#endif

0 commit comments

Comments
 (0)