diff options
author | Alejandro Marzini | 2010-06-09 05:29:14 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-06-09 05:29:14 +0000 |
commit | 7840aa196670000be3ff1baa03f99de0e34c61ad (patch) | |
tree | 7a7bf144ab3b80635d7e4b63f180abb0108229c0 /backends/graphics/sdl | |
parent | 5548548f959f2ddc7ef7250345b804164873c44e (diff) | |
download | scummvm-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/graphics/sdl')
-rw-r--r-- | backends/graphics/sdl/sdl-graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/graphics/sdl/sdl-graphics.cpp b/backends/graphics/sdl/sdl-graphics.cpp index 8fc2ef6f08..7ae59aed49 100644 --- a/backends/graphics/sdl/sdl-graphics.cpp +++ b/backends/graphics/sdl/sdl-graphics.cpp @@ -23,6 +23,8 @@ * */ +#if defined(WIN32) || defined(UNIX) || defined(MACOSX) + #include "backends/graphics/sdl/sdl-graphics.h" #include "common/config-manager.h" #include "common/mutex.h" @@ -2069,3 +2071,5 @@ bool SdlGraphicsManager::isScalerHotkey(const Common::Event &event) { } return false; } + +#endif |