Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thread: make generic SDL_Condition a no-op if built with SDL_THREADS_…
…DISABLED. Otherwise, when you call SDL_CreateCondition() in something that can otherwise survive in a single-threaded build, you'll get an error that seems fatal. We already do this for mutexes and rwlocks (but not semaphores!) Fixes #9558.
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters