diff options
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r-- | libs/ardour/graph.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc index fe76fd74ed..2425f8b6ef 100644 --- a/libs/ardour/graph.cc +++ b/libs/ardour/graph.cc @@ -584,10 +584,12 @@ Graph::process_one_route (Route* route) bool Graph::in_process_thread () const { +#ifndef COMPILER_MINGW for (list<pthread_t>::const_iterator i = _thread_list.begin (); i != _thread_list.end(); ++i) { if (pthread_equal(*i, pthread_self())) { return true; } } +#endif return false; } |