From 15161d641da9e8a2d42567781ebd9077f313c117 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 15 Nov 2016 03:25:32 +0100 Subject: [PATCH] really fix windows compilation. --- libs/fst/vstwin.c | 12 ++++++------ 1 file 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