Skip to content

Commit 60cfaec

Browse files
authored
Fix ARM64 Unix debugging (#72735)
1 parent 9a0b8f3 commit 60cfaec

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/coreclr/dlls/mscordbi/mscordbi.cpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
//*****************************************************************************
1111
#include "stdafx.h"
1212

13+
#if defined(HOST_ARM64) && defined(TARGET_UNIX)
14+
// Flag to check if atomics feature is available on
15+
// the machine
16+
bool g_arm64_atomics_present = false;
17+
#endif
18+
1319
extern BOOL WINAPI DbgDllMain(HINSTANCE hInstance, DWORD dwReason,
1420
LPVOID lpReserved);
1521

@@ -19,13 +25,6 @@ extern BOOL WINAPI DbgDllMain(HINSTANCE hInstance, DWORD dwReason,
1925
//*****************************************************************************
2026
extern "C"
2127
#ifdef TARGET_UNIX
22-
23-
#if defined(HOST_ARM64)
24-
// Flag to check if atomics feature is available on
25-
// the machine
26-
bool g_arm64_atomics_present = false;
27-
#endif
28-
2928
DLLEXPORT // For Win32 PAL LoadLibrary emulation
3029
#endif
3130
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)

0 commit comments

Comments
 (0)