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.
This commit is contained in:
parent
2379321355
commit
b565357bf4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user