From d9de92f48bc196ac4ddceaeb9ec5625f790199c3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 9 Feb 2016 18:38:57 +0100 Subject: [PATCH] Buildfix --- runloop.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/runloop.c b/runloop.c index 8ddce7906a..2f5cc09484 100644 --- a/runloop.c +++ b/runloop.c @@ -972,7 +972,10 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data) break; case RUNLOOP_CTL_TASK_INIT: { - bool threaded_enable = settings->threaded_data_runloop_enable; + bool threaded_enable = false; +#ifdef HAVE_THREADS + threaded_enable = settings->threaded_data_runloop_enable; +#endif task_queue_ctl(TASK_QUEUE_CTL_INIT, &threaded_enable); } break;