Skip to content

Commit

Permalink
Fix linux-x86 compilation for clr.alljits subset (#68046)
Browse files Browse the repository at this point in the history
  • Loading branch information
ta264 authored Apr 27, 2022
1 parent fa55bec commit 8f7761a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/inc/clrnt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand All @@ -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))
Expand Down

0 comments on commit 8f7761a

Please sign in to comment.