From 8f7761af3763d0b84acefbb117ed6becd83061d1 Mon Sep 17 00:00:00 2001 From: ta264 Date: Wed, 27 Apr 2022 16:50:47 +0100 Subject: [PATCH] Fix linux-x86 compilation for clr.alljits subset (#68046) --- src/coreclr/inc/clrnt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/inc/clrnt.h b/src/coreclr/inc/clrnt.h index 0c87336d1336a..7bd582640df1f 100644 --- a/src/coreclr/inc/clrnt.h +++ b/src/coreclr/inc/clrnt.h @@ -833,7 +833,7 @@ RtlVirtualUnwind_Unsafe( // #ifdef TARGET_X86 -#ifndef TARGET_UNIX +#ifndef HOST_UNIX // // x86 ABI does not define RUNTIME_FUNCTION. Define our own to allow unification between x86 and other platforms. // @@ -847,7 +847,7 @@ typedef struct _DISPATCHER_CONTEXT { _EXCEPTION_REGISTRATION_RECORD* RegistrationPointer; } DISPATCHER_CONTEXT, *PDISPATCHER_CONTEXT; #endif // HOST_X86 -#endif // !TARGET_UNIX +#endif // !HOST_UNIX #define RUNTIME_FUNCTION__BeginAddress(prf) (prf)->BeginAddress #define RUNTIME_FUNCTION__SetBeginAddress(prf,addr) ((prf)->BeginAddress = (addr))