summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-11-23 21:01:06 +0100
committerRobin Gareus <robin@gareus.org>2014-11-23 21:01:39 +0100
commitec01682714a7a7a87c38cf2ca4ef0ed6504c2a27 (patch)
tree282f96b23f19f84a8573c602aad00e9288f2b08f /libs/pbd
parent40764f4cb31977da9e65e9e62135f21f7c508047 (diff)
-Wunused-function on windows
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/system_exec.cc3
1 files changed, 3 insertions, 0 deletions
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)
/*