Skip to content

Commit b813073

Browse files
committed
fix freebsd build when libbacktrace is present
1 parent 665e36a commit b813073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media_softlet/linux/common/os/osservice/mos_utilities_specific.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2598,7 +2598,7 @@ void MosUtilities::MosTraceEvent(
25982598
MOS_FreeMemory(pTraceBuf);
25992599
}
26002600
}
2601-
#if Backtrace_FOUND
2601+
#if Backtrace_FOUND && defined(__linux__)
26022602
if (m_mosTraceFilter(TR_KEY_CALL_STACK))
26032603
{
26042604
// reserve space for header and stack size field.

0 commit comments

Comments
 (0)