Skip to content

Commit 8f7761a

Browse files
authored
Fix linux-x86 compilation for clr.alljits subset (#68046)
1 parent fa55bec commit 8f7761a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/inc/clrnt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ RtlVirtualUnwind_Unsafe(
833833
//
834834

835835
#ifdef TARGET_X86
836-
#ifndef TARGET_UNIX
836+
#ifndef HOST_UNIX
837837
//
838838
// x86 ABI does not define RUNTIME_FUNCTION. Define our own to allow unification between x86 and other platforms.
839839
//
@@ -847,7 +847,7 @@ typedef struct _DISPATCHER_CONTEXT {
847847
_EXCEPTION_REGISTRATION_RECORD* RegistrationPointer;
848848
} DISPATCHER_CONTEXT, *PDISPATCHER_CONTEXT;
849849
#endif // HOST_X86
850-
#endif // !TARGET_UNIX
850+
#endif // !HOST_UNIX
851851

852852
#define RUNTIME_FUNCTION__BeginAddress(prf) (prf)->BeginAddress
853853
#define RUNTIME_FUNCTION__SetBeginAddress(prf,addr) ((prf)->BeginAddress = (addr))

0 commit comments

Comments
 (0)