Skip to content

Commit

Permalink
Fix BSD compile-time issue
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Jan 27, 2025
1 parent 377552d commit bbe0f3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/s2pexec/s2pexec_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ void S2pExecExecutor::CleanUp()
bus->CleanUp();
}

#ifdef __linux__
if (is_sg && sg_adapter) {
sg_adapter->CleanUp();
}
#endif

is_sg = false;
}
Expand Down

0 comments on commit bbe0f3d

Please sign in to comment.