SDL-mirror/src/thread/pthread
Ryan C. Gordon 4f438b70a2 Make SDL_SetError and friends unconditionally return -1.
This lets us change things like this...

    if (Failed) {
        SDL_SetError("We failed");
        return -1;
    }

...into this...

    if (Failed) {
        return SDL_SetError("We failed");
    }


 Fixes Bugzilla #1778.
2013-03-31 12:48:50 -04:00
..
SDL_syscond.c Make SDL_SetError and friends unconditionally return -1. 2013-03-31 12:48:50 -04:00
SDL_sysmutex.c Make SDL_SetError and friends unconditionally return -1. 2013-03-31 12:48:50 -04:00
SDL_sysmutex_c.h Happy New Year! 2013-02-15 08:47:44 -08:00
SDL_syssem.c Make SDL_SetError and friends unconditionally return -1. 2013-03-31 12:48:50 -04:00
SDL_systhread.c Make SDL_SetError and friends unconditionally return -1. 2013-03-31 12:48:50 -04:00
SDL_systhread_c.h Happy New Year! 2013-02-15 08:47:44 -08:00