Skip to content
Snippets Groups Projects

Fix i_threads.c compiling on macOS

Merged PAS requested to merge PAS/SRB2Classic:fixithreads into next
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -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;
Loading