Skip to content

Commit

Permalink
Fixed Windows compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Sep 14, 2024
1 parent 2c3d679 commit 7c6a993
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/mrvCore/mrvOS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ namespace

namespace
{

#ifdef __linux__

// Function to execute a shell command and capture the output
std::string exec_command(const std::string& command)
{
Expand All @@ -68,6 +71,8 @@ namespace

return out;
}
#endif

} // namespace

namespace mrv
Expand Down

0 comments on commit 7c6a993

Please sign in to comment.