Fixing build for windows arm64

This commit is contained in:
Honeybunch 2022-06-15 19:07:41 -07:00
parent f2712f4a8f
commit d295043ecf
2 changed files with 15 additions and 12 deletions

View file

@ -490,7 +490,7 @@ mi_decl_nodiscard bool mi_is_redirected(void) mi_attr_noexcept {
}
// Communicate with the redirection module on Windows
#if defined(_WIN32) && defined(MI_SHARED_LIB)
#if defined(_WIN32) && defined(MI_SHARED_LIB) && !(defined(_M_ARM) || defined(_M_ARM64))
#ifdef __cplusplus
extern "C" {
#endif