Mercurial > hg > dmlib
diff src/dmmutex.h @ 1432:a9516570cc26
Improve build, so that we can build the tools and tests with minimal
depencies (e.g. without libSDL linking when possible.) And this also on
Win32 MinGW.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 22 Nov 2017 01:33:21 +0200 |
parents | 1e5cf1144f36 |
children | 5e5f75b45f8d |
line wrap: on
line diff
--- a/src/dmmutex.h Wed Nov 22 01:04:41 2017 +0200 +++ b/src/dmmutex.h Wed Nov 22 01:33:21 2017 +0200 @@ -4,6 +4,8 @@ * Programmed and designed by Matti 'ccr' Hamalainen * (C) Copyright 2012 Tecnic Software productions (TNSP) */ +#ifndef DMMUTEX_H +#define DMMUTEX_H 1 Uint32 SDL_ThreadID() { @@ -31,3 +33,5 @@ { (void) p; } + +#endif