Skip to content

Commit c28356a

Browse files
authored
Improve dbghelp.dll finding on ARM64 (winsiderss#790)
1 parent 39bfe46 commit c28356a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

phlib/symprv.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,10 @@ VOID PhpSymbolProviderCompleteInitialization(
275275
PPH_STRING dbghelpName;
276276
PPH_STRING symsrvName;
277277

278-
#ifdef _WIN64
278+
#if defined(_M_AMD64)
279279
PhMoveReference(&winsdkPath, PhConcatStringRefZ(&winsdkPath->sr, L"\\Debuggers\\x64\\"));
280+
#elif defined(_M_ARM64)
281+
PhMoveReference(&winsdkPath, PhConcatStringRefZ(&winsdkPath->sr, L"\\Debuggers\\arm64\\"));
280282
#else
281283
PhMoveReference(&winsdkPath, PhConcatStringRefZ(&winsdkPath->sr, L"\\Debuggers\\x86\\"));
282284
#endif

0 commit comments

Comments
 (0)