Support compiling without pthreads
authorPaul Cercueil <paul@crapouillou.net>
Sat, 11 Feb 2023 14:22:21 +0000 (14:22 +0000)
committernotaz <notasas@gmail.com>
Thu, 3 Aug 2023 17:50:59 +0000 (20:50 +0300)
commitf28d12a72998b0a6018b41af8f86a24b10ab506f
treeb34e47697ea6d8133ffae20283a77b8ec44a2da6
parent5e282df80d579f9a19c77a655c2c0dda6dc2c7b4
Support compiling without pthreads

Add NO_PTHREAD option in the Makefile, which can be used on platforms
that don't support pthreads.

Since dfsound/spu.c disables threading support on Win32 and platform
defining NO_OS (Switch, 3DS, PSP Vita), mark them as not having
pthreads.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Makefile
frontend/libretro.c
frontend/libretro_core_options.h
libpcsxcore/cdriso.c
plugins/dfsound/spu.c