summaryrefslogtreecommitdiff
path: root/src/unittests/sdl.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-01 17:31:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-01 17:31:32 +0300
commit13c5cc47aca547c1f3ca02e26672557823b844ee (patch)
tree6d716f42b359008b60c723738644927c45d54b46 /src/unittests/sdl.cc
parent07b53a06e9cde268d423917193f1f3d7cebcdbeb (diff)
downloadmv-13c5cc47aca547c1f3ca02e26672557823b844ee.tar.gz
mv-13c5cc47aca547c1f3ca02e26672557823b844ee.tar.bz2
mv-13c5cc47aca547c1f3ca02e26672557823b844ee.tar.xz
mv-13c5cc47aca547c1f3ca02e26672557823b844ee.zip
Fix include in sdl.cc
Diffstat (limited to 'src/unittests/sdl.cc')
-rw-r--r--src/unittests/sdl.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/unittests/sdl.cc b/src/unittests/sdl.cc
index 1d2943605..eaf744329 100644
--- a/src/unittests/sdl.cc
+++ b/src/unittests/sdl.cc
@@ -45,13 +45,12 @@
#include "utils/env.h"
#include "utils/delete2.h"
+#ifndef USE_SDL2
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_image.h>
PRAGMA48(GCC diagnostic pop)
-
-#ifndef UNITTESTS_CATCH
-#endif // UNITTESTS_CATCH
+#endif // USE_SDL2
#include "debug.h"