fix jack/mingw compilation

This commit is contained in:
Robin Gareus 2014-10-22 23:57:55 +02:00
parent 679356c5ee
commit f7211ff8f7

View file

@ -919,7 +919,12 @@ JACKAudioBackend::process_thread ()
/* JACK doesn't do this for us when we use the wait API
*/
#ifdef COMPILER_MINGW
_main_thread = GetCurrentThread();
#else
_main_thread = pthread_self ();
#endif
AudioEngine::thread_init_callback (this);