mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-21 00:01:07 +01:00
Most pthread functions return 0 on success and non-zero on error, but those errors might be positive or negative, so checking for return values in the Unix style, where errors are less than zero, is a bug. Fixes Bugzilla #4039.