diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2014-05-13 14:56:26 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2014-05-14 09:48:33 +1000 |
commit | b565357bf462de2e64671f5cc167bbc08eb84509 (patch) | |
tree | a37805c2d55f6dde5f4c64cc629a9864ba831ec0 /libs | |
parent | 2379321355365e1f6442eee368f71385b56ed9fd (diff) |
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.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/backends/dummy/dummy_audiobackend.cc | 6 |
1 files changed, 0 insertions, 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<pthread_t>::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; } |