Skip to content

Commit ec133dc

Browse files
committed
Fix Unix build
1 parent 3a019a2 commit ec133dc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/coreclr/vm/exceptionhandling.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8199,9 +8199,10 @@ extern "C" BOOL QCALLTYPE EHEnumNext(EH_CLAUSE_ENUMERATOR* pEHEnum, RhEHClause*
81998199
{
82008200
result = FALSE;
82018201
}
8202-
8202+
#ifdef HOST_WINDOWS
82038203
// When processing longjmp, only finally clauses are considered.
82048204
if ((pExInfo->m_pLongJmpBuf == NULL) || (flags & COR_ILEXCEPTION_CLAUSE_FINALLY) || (flags & COR_ILEXCEPTION_CLAUSE_FAULT))
8205+
#endif // HOST_WINDOWS
82058206
{
82068207
break;
82078208
}

src/coreclr/vm/exinfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ ExInfo::ExInfo(Thread *pThread, EXCEPTION_RECORD *pExceptionRecord, CONTEXT *pEx
321321
#endif // HOST_UNIX
322322
m_CurrentClause({}),
323323
m_pMDToReportFunctionLeave(NULL),
324-
m_lastReportedFunclet({0, 0, 0}),
324+
m_lastReportedFunclet({0, 0, 0})
325325
#ifdef HOST_WINDOWS
326-
m_pLongJmpBuf(NULL),
326+
, m_pLongJmpBuf(NULL),
327327
m_longJmpReturnValue(0)
328328
#endif // HOST_WINDOWS
329329
{

0 commit comments

Comments
 (0)