projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40764f4
)
-Wunused-function on windows
author
Robin Gareus
<robin@gareus.org>
Sun, 23 Nov 2014 20:01:06 +0000
(21:01 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sun, 23 Nov 2014 20:01:39 +0000
(21:01 +0100)
libs/pbd/system_exec.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/system_exec.cc
b/libs/pbd/system_exec.cc
index 123fb909ad4f971ae4a2960e637fb7429bac6982..60e73badfcf19eb567ebe72f91a2a63253608819 100644
(file)
--- 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)
/*