mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 06:35:46 +01:00
fix jack/mingw compilation
This commit is contained in:
parent
679356c5ee
commit
f7211ff8f7
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue