mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-07 19:24:29 +00:00
Compile with recursive mutexes for emscripten
Emscripten actually does support recursive mutexes, so no need to use SDL's fake recursive code. Background: #5428, #5479
This commit is contained in:
committed by
Sam Lantinga
parent
64c7896f09
commit
6dbca7c911
@@ -185,6 +185,7 @@
|
|||||||
/* Enable various threading systems */
|
/* Enable various threading systems */
|
||||||
#ifdef __EMSCRIPTEN_PTHREADS__
|
#ifdef __EMSCRIPTEN_PTHREADS__
|
||||||
#define SDL_THREAD_PTHREAD 1
|
#define SDL_THREAD_PTHREAD 1
|
||||||
|
#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Enable various timer systems */
|
/* Enable various timer systems */
|
||||||
|
|||||||
Reference in New Issue
Block a user