diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-01 17:31:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-01 17:31:32 +0300 |
commit | 13c5cc47aca547c1f3ca02e26672557823b844ee (patch) | |
tree | 6d716f42b359008b60c723738644927c45d54b46 | |
parent | 07b53a06e9cde268d423917193f1f3d7cebcdbeb (diff) | |
download | plus-13c5cc47aca547c1f3ca02e26672557823b844ee.tar.gz plus-13c5cc47aca547c1f3ca02e26672557823b844ee.tar.bz2 plus-13c5cc47aca547c1f3ca02e26672557823b844ee.tar.xz plus-13c5cc47aca547c1f3ca02e26672557823b844ee.zip |
Fix include in sdl.cc
-rw-r--r-- | src/unittests/sdl.cc | 5 |
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" |