aboutsummaryrefslogtreecommitdiff
path: root/backends/mutex
diff options
context:
space:
mode:
authorAlejandro Marzini2010-06-09 05:29:14 +0000
committerAlejandro Marzini2010-06-09 05:29:14 +0000
commit7840aa196670000be3ff1baa03f99de0e34c61ad (patch)
tree7a7bf144ab3b80635d7e4b63f180abb0108229c0 /backends/mutex
parent5548548f959f2ddc7ef7250345b804164873c44e (diff)
downloadscummvm-rg350-7840aa196670000be3ff1baa03f99de0e34c61ad.tar.gz
scummvm-rg350-7840aa196670000be3ff1baa03f99de0e34c61ad.tar.bz2
scummvm-rg350-7840aa196670000be3ff1baa03f99de0e34c61ad.zip
Added directives for avoiding compilation of sdl managers on platforms that don't use them (Other platforms may also need to be added later)
svn-id: r49531
Diffstat (limited to 'backends/mutex')
-rw-r--r--backends/mutex/sdl/sdl-mutex.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/mutex/sdl/sdl-mutex.cpp b/backends/mutex/sdl/sdl-mutex.cpp
index e30d194ca1..53529c155a 100644
--- a/backends/mutex/sdl/sdl-mutex.cpp
+++ b/backends/mutex/sdl/sdl-mutex.cpp
@@ -23,6 +23,8 @@
*
*/
+#if defined(WIN32) || defined(UNIX) || defined(MACOSX)
+
#include "backends/mutex/sdl/sdl-mutex.h"
#if defined(__SYMBIAN32__)
@@ -46,3 +48,5 @@ void SdlMutexManager::unlockMutex(OSystem::MutexRef mutex) {
void SdlMutexManager::deleteMutex(OSystem::MutexRef mutex) {
SDL_DestroyMutex((SDL_mutex *) mutex);
}
+
+#endif