mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-02 07:06:04 +02: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.