mirror of
https://github.com/encounter/SDL.git
synced 2025-07-07 21:56:12 +00: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.