src/thread/windows/SDL_sysmutex.c
changeset 6044 35448a5ea044
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
equal deleted inserted replaced
6043:46d78e48ae8b 6044:35448a5ea044
    17   2. Altered source versions must be plainly marked as such, and must not be
    17   2. Altered source versions must be plainly marked as such, and must not be
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #include "SDL_config.h"
    21 #include "SDL_config.h"
       
    22 
       
    23 #if SDL_THREAD_WINDOWS
    22 
    24 
    23 /* Mutex functions using the Win32 API */
    25 /* Mutex functions using the Win32 API */
    24 
    26 
    25 #include "../../core/windows/SDL_windows.h"
    27 #include "../../core/windows/SDL_windows.h"
    26 
    28 
    88 
    90 
    89     LeaveCriticalSection(&mutex->cs);
    91     LeaveCriticalSection(&mutex->cs);
    90     return (0);
    92     return (0);
    91 }
    93 }
    92 
    94 
       
    95 #endif /* SDL_THREAD_WINDOWS */
       
    96 
    93 /* vi: set ts=4 sw=4 expandtab: */
    97 /* vi: set ts=4 sw=4 expandtab: */