From 7c6a9935621c8aeaa825cbae271dd1ceafe67146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Garramu=C3=B1o?= Date: Sat, 14 Sep 2024 11:59:48 -0300 Subject: [PATCH] Fixed Windows compile. --- src/lib/mrvCore/mrvOS.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/mrvCore/mrvOS.cpp b/src/lib/mrvCore/mrvOS.cpp index 2b44e8719..f7f77a2ae 100644 --- a/src/lib/mrvCore/mrvOS.cpp +++ b/src/lib/mrvCore/mrvOS.cpp @@ -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) { @@ -68,6 +71,8 @@ namespace return out; } +#endif + } // namespace namespace mrv