diff --git a/lib/Runtime/Base/ThreadContextInfo.cpp b/lib/Runtime/Base/ThreadContextInfo.cpp index ae12cf49535..bffc810da4b 100644 --- a/lib/Runtime/Base/ThreadContextInfo.cpp +++ b/lib/Runtime/Base/ThreadContextInfo.cpp @@ -493,7 +493,7 @@ ThreadContextInfo::SetValidCallTargetInternal( #endif ) { - _guard_check_icall((uintptr_t)callTargetAddress); + _GUARD_CHECK_ICALL((uintptr_t)callTargetAddress); } if (PHASE_TRACE1(Js::CFGPhase)) diff --git a/lib/Runtime/Base/ThreadContextInfo.h b/lib/Runtime/Base/ThreadContextInfo.h index e8442e346bf..ee6b11856c0 100644 --- a/lib/Runtime/Base/ThreadContextInfo.h +++ b/lib/Runtime/Base/ThreadContextInfo.h @@ -174,3 +174,6 @@ uintptr_t ShiftAddr(const ThreadContextInfo*const context, T* address) uintptr_t ShiftAddr(const ThreadContextInfo*const context, uintptr_t address); +#ifndef _GUARD_CHECK_ICALL +#define _GUARD_CHECK_ICALL _guard_check_icall +#endif