view dmmutex.h @ 288:e2f286781180

Use more glanular header includes from SDL, enables us to succesfully link binaries without the SDL dependancy (where it is not actually needed) under Windows.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 11 Oct 2012 11:10:30 +0300
parents 245b15cd1919
children dd9809a93425
line wrap: on
line source

/*
 * DMLib
 * -- Bogus implementations of SDL mutex functions
 * Programmed and designed by Matti 'ccr' Hamalainen
 * (C) Copyright 2012 Tecnic Software productions (TNSP)
 */

int SDL_mutexP(DMMutex *p)
{
    (void) p;
    return 0;
}

int SDL_mutexV(DMMutex *p)
{
    (void) p;
    return 0;
}

DMMutex * SDL_CreateMutex()
{
    return NULL;
}

void SDL_DestroyMutex(DMMutex *p)
{
    (void) p;
}