From d65eae81975f26a9245d4e304e453b38c0d27847 Mon Sep 17 00:00:00 2001 From: ta264 Date: Thu, 14 Apr 2022 20:45:04 +0100 Subject: [PATCH] Fix linux-x86 compilation for clr.alljits subset --- 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 0e1480c3cebc59..380502d6cfedbf 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))