Skip to content

Commit

Permalink
Fix ARM64 Unix debugging (dotnet#72735)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoyosjs committed Jul 25, 2022
1 parent 9a0b8f3 commit 60cfaec
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/coreclr/dlls/mscordbi/mscordbi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
//*****************************************************************************
#include "stdafx.h"

#if defined(HOST_ARM64) && defined(TARGET_UNIX)
// Flag to check if atomics feature is available on
// the machine
bool g_arm64_atomics_present = false;
#endif

extern BOOL WINAPI DbgDllMain(HINSTANCE hInstance, DWORD dwReason,
LPVOID lpReserved);

Expand All @@ -19,13 +25,6 @@ extern BOOL WINAPI DbgDllMain(HINSTANCE hInstance, DWORD dwReason,
//*****************************************************************************
extern "C"
#ifdef TARGET_UNIX

#if defined(HOST_ARM64)
// Flag to check if atomics feature is available on
// the machine
bool g_arm64_atomics_present = false;
#endif

DLLEXPORT // For Win32 PAL LoadLibrary emulation
#endif
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
Expand Down

0 comments on commit 60cfaec

Please sign in to comment.