summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-07-11 15:08:47 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-07-11 15:08:47 -0400
commit2b93c878d0fea64a6b1cea3d951d6170baa6b923 (patch)
tree6d06b00c9f3a65286b55dd5f89d4bebe8153ebfb /libs/ardour/graph.cc
parentfa2dcea820fb3aa9ba244a7e28890c4c9296019a (diff)
Disable some non-portable code that is only used for debugging
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r--libs/ardour/graph.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc
index 3eb601e82b..3ec912ecd3 100644
--- a/libs/ardour/graph.cc
+++ b/libs/ardour/graph.cc
@@ -583,10 +583,12 @@ Graph::process_one_route (Route* route)
bool
Graph::in_process_thread () const
{
+#ifndef WIN32
for (list<pthread_t>::const_iterator i = _thread_list.begin (); i != _thread_list.end(); ++i) {
if (*i == pthread_self()) {
return true;
}
}
return false;
+#endif
}