From 2b93c878d0fea64a6b1cea3d951d6170baa6b923 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 11 Jul 2013 15:08:47 -0400 Subject: Disable some non-portable code that is only used for debugging --- libs/ardour/graph.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/graph.cc') 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::const_iterator i = _thread_list.begin (); i != _thread_list.end(); ++i) { if (*i == pthread_self()) { return true; } } return false; +#endif } -- cgit v1.2.3