From b565357bf462de2e64671f5cc167bbc08eb84509 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Tue, 13 May 2014 14:56:26 +1000 Subject: [PATCH] Remove incorrect code for mingw in DummyAudioBackend::in_process_thread I'm assuming this section was copied from the JackAudioBackend where the thread type is not pthread_t for mingw, but in the DummyAudioBackend it is. --- libs/backends/dummy/dummy_audiobackend.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libs/backends/dummy/dummy_audiobackend.cc b/libs/backends/dummy/dummy_audiobackend.cc index 7a3aa78513..6bc6e6da6e 100644 --- a/libs/backends/dummy/dummy_audiobackend.cc +++ b/libs/backends/dummy/dummy_audiobackend.cc @@ -430,15 +430,9 @@ DummyAudioBackend::in_process_thread () { for (std::vector::const_iterator i = _threads.begin (); i != _threads.end (); ++i) { -#ifdef COMPILER_MINGW - if (*i == GetCurrentThread ()) { - return true; - } -#else // pthreads if (pthread_equal (*i, pthread_self ()) != 0) { return true; } -#endif } return false; }