From ec01682714a7a7a87c38cf2ca4ef0ed6504c2a27 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 23 Nov 2014 21:01:06 +0100 Subject: [PATCH] -Wunused-function on windows --- libs/pbd/system_exec.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/pbd/system_exec.cc b/libs/pbd/system_exec.cc index 123fb909ad..60e73badfc 100644 --- a/libs/pbd/system_exec.cc +++ b/libs/pbd/system_exec.cc @@ -55,7 +55,10 @@ using namespace std; using namespace PBD; static void * interposer_thread (void *arg); + +#ifndef PLATFORM_WINDOWS /* POSIX Process only */ static void close_fd (int& fd) { if (fd >= 0) ::close (fd); fd = -1; } +#endif #if (!defined PLATFORM_WINDOWS && defined NO_VFORK) /* -- 2.30.2