diff --git a/Makefile.common b/Makefile.common index 908d9b1688..82ca447e54 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1153,6 +1153,8 @@ ifeq ($(HAVE_THREADS), 1) ifeq ($(findstring Haiku,$(OS)),) LIBS += $(THREADS_LIBS) endif +else + OBJ += $(LIBRETRO_COMM_DIR)/rthreads/single_threaded.o endif ifeq ($(HAVE_THREAD_STORAGE), 1) diff --git a/griffin/griffin.c b/griffin/griffin.c index 3a8c36fa2a..6f23cb875c 100644 --- a/griffin/griffin.c +++ b/griffin/griffin.c @@ -1321,6 +1321,8 @@ THREAD #include "../libretro-common/rthreads/rthreads.c" #include "../gfx/video_thread_wrapper.c" #include "../audio/audio_thread_wrapper.c" +#else +#include "../libretro-common/rthreads/single_threaded.c" #endif /* needed for playlists, netplay lobbies and achievements */ diff --git a/libretro-common/audio/audio_mixer.c b/libretro-common/audio/audio_mixer.c index 9a8b579299..17a2d1cbcb 100644 --- a/libretro-common/audio/audio_mixer.c +++ b/libretro-common/audio/audio_mixer.c @@ -26,6 +26,7 @@ #include