diff --git a/src/vm/i386/cgenx86.cpp b/src/vm/i386/cgenx86.cpp index b3bb14fa2355..37fefd015970 100644 --- a/src/vm/i386/cgenx86.cpp +++ b/src/vm/i386/cgenx86.cpp @@ -1595,6 +1595,7 @@ extern "C" VOID STDCALL StubRareDisableTHROWWorker(Thread *pThread) pThread->HandleThreadAbort(); } +#ifndef FEATURE_PAL // Note that this logic is copied below, in PopSEHRecords __declspec(naked) VOID __cdecl PopSEHRecords(LPVOID pTargetSP) @@ -1616,6 +1617,7 @@ VOID __cdecl PopSEHRecords(LPVOID pTargetSP) retn } } +#endif // FEATURE_PAL ////////////////////////////////////////////////////////////////////////////// // diff --git a/src/vm/i386/unixstubs.cpp b/src/vm/i386/unixstubs.cpp index e7f49577e429..86dd75da49c7 100644 --- a/src/vm/i386/unixstubs.cpp +++ b/src/vm/i386/unixstubs.cpp @@ -88,3 +88,8 @@ extern "C" { } }; + +VOID __cdecl PopSEHRecords(LPVOID pTargetSP) +{ + PORTABILITY_ASSERT("Implement for PAL"); +}