diff --git a/src/i_threads.c b/src/i_threads.c index 5ef28bd117ae23ef429284ba0daef87a90f26d7c..d56a7d3a4a8c8f3cfb58b659210e6556e6aea3b0 100644 --- a/src/i_threads.c +++ b/src/i_threads.c @@ -9,7 +9,7 @@ /// \file i_threads.c /// \brief Multithreading abstraction -#if defined (__unix__) || (!defined(__APPLE__) && defined (UNIXCOMMON)) +#if defined (__unix__) || defined(__APPLE__) #include <pthread.h> @@ -313,6 +313,8 @@ void I_wake_all_cond(I_cond *anchor) WakeAllConditionVariable(*anchor); } #else +#include "i_threads.h" + void I_spawn_thread(const char *name, I_thread_fn entry, void *userdata) { (void)name;