Updating approach to disable redirect on ARM platforms

This commit is contained in:
Honeybunch 2022-06-23 17:38:42 -07:00
parent d295043ecf
commit 311e8bd74a
2 changed files with 25 additions and 10 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) && !(defined(_M_ARM) || defined(_M_ARM64))
#if defined(_WIN32) && defined(MI_SHARED_LIB) && !defined(MI_DISABLE_REDIRECT)
#ifdef __cplusplus
extern "C" {
#endif