Skip to content

Commit 3071b9e

Browse files
authored
Merge pull request #282 from wyattoday/develop
Fix MSVC ARM64 build errors, issue #281
2 parents a05c37a + 8190a50 commit 3071b9e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/win32/tss_pe.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ extern BOOL (WINAPI * const _pRawDllMainOrig)(HINSTANCE, DWORD, LPVOID);
9898
extern BOOL (WINAPI * const _pDefaultRawDllMainOrig)(HINSTANCE, DWORD, LPVOID) = NULL;
9999
#if defined (_M_IX86)
100100
#pragma comment(linker, "/alternatename:__pRawDllMainOrig=__pDefaultRawDllMainOrig")
101-
#elif defined (_M_X64) || defined (_M_ARM)
101+
#elif defined (_M_X64) || defined (_M_ARM) || defined (_M_ARM64)
102102
#pragma comment(linker, "/alternatename:_pRawDllMainOrig=_pDefaultRawDllMainOrig")
103-
#else /* defined (_M_X64) || defined (_M_ARM) */
103+
#else /* unknown Windows target (not x86, x64, ARM, ARM64) */
104104
#error Unsupported platform
105-
#endif /* defined (_M_X64) || defined (_M_ARM) */
105+
#endif /* defined (_M_X64) || defined (_M_ARM) || defined (_M_ARM64) */
106106
}
107107

108108
#endif

0 commit comments

Comments
 (0)