From 490311bc081b12d328e6e02cac8170538e96fb2f Mon Sep 17 00:00:00 2001 From: John Emmas Date: Sun, 4 Aug 2013 15:36:07 +0100 Subject: 'libs/ardour' - Main body of changes required for building with MSVC --- libs/ardour/graph.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libs/ardour/graph.cc') diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc index 12752c158e..fe76fd74ed 100644 --- a/libs/ardour/graph.cc +++ b/libs/ardour/graph.cc @@ -584,12 +584,10 @@ 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()) { + if (pthread_equal(*i, pthread_self())) { return true; } } return false; -#endif } -- cgit v1.2.3