From 13c5cc47aca547c1f3ca02e26672557823b844ee Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Sep 2017 17:31:32 +0300 Subject: Fix include in sdl.cc --- src/unittests/sdl.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/unittests') 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 PRAGMA48(GCC diagnostic pop) - -#ifndef UNITTESTS_CATCH -#endif // UNITTESTS_CATCH +#endif // USE_SDL2 #include "debug.h" -- cgit v1.2.3-60-g2f50