diff options
author | Robin Gareus <robin@gareus.org> | 2016-11-15 03:25:32 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-11-15 03:25:32 +0100 |
commit | 15161d641da9e8a2d42567781ebd9077f313c117 (patch) | |
tree | 254993f7bef829c17bef1062a14639b02325d6e5 | |
parent | 694de29953cdc62c433346a57fa1f3bf9a9f53de (diff) |
really fix windows compilation.
-rw-r--r-- | libs/fst/vstwin.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index 9ed65ff978..820027c9ae 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -222,12 +222,12 @@ fst_new (void) VSTState* fst = (VSTState*) calloc (1, sizeof (VSTState)); //vststate_init (fst); - pthread_mutex_init (&state->lock, 0); - pthread_mutex_init (&state->state_lock, 0); - pthread_cond_init (&state->window_status_change, 0); - pthread_cond_init (&state->plugin_dispatcher_called, 0); - pthread_cond_init (&state->window_created, 0); - state->want_program = -1; + pthread_mutex_init (&fst->lock, 0); + pthread_mutex_init (&fst->state_lock, 0); + pthread_cond_init (&fst->window_status_change, 0); + pthread_cond_init (&fst->plugin_dispatcher_called, 0); + pthread_cond_init (&fst->window_created, 0); + fst->want_program = -1; // #ifdef PLATFORM_WINDOWS |