Support compiling without pthreads
authorPaul Cercueil <paul@crapouillou.net>
Sat, 11 Feb 2023 14:22:21 +0000 (14:22 +0000)
committerPaul Cercueil <paul@crapouillou.net>
Sun, 23 Jul 2023 18:09:14 +0000 (20:09 +0200)
commit78bb116f38e967174ce6255a51c9d19805e8fcb2
tree69b93ee4a5adcbcf072b67851ae29d67636bcf57
parent71012b7bb948465c33ae3d22123388ad0eed6deb
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
Makefile.libretro
frontend/libretro.c
frontend/libretro_core_options.h
libpcsxcore/cdriso.c
plugins/dfsound/spu.c