From 4b41e05deeef6927863601205dd7a0b5563e803a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 2 Jun 2017 19:42:38 +0300 Subject: Enable combineSurface test only in little endian systems. --- src/resources/sdlimagehelper_unittest.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/resources/sdlimagehelper_unittest.cc b/src/resources/sdlimagehelper_unittest.cc index 46338e406..e620a466d 100644 --- a/src/resources/sdlimagehelper_unittest.cc +++ b/src/resources/sdlimagehelper_unittest.cc @@ -19,6 +19,8 @@ */ #ifndef USE_SDL2 +#include +#if SDL_BYTEORDER == SDL_LIL_ENDIAN #include "test/unittests.h" @@ -36,7 +38,6 @@ #include "resources/sdlimagehelper.h" -#include #include "debug.h" @@ -455,4 +456,5 @@ TEST_CASE("sdlimagehelper combineSurface", "") delete2(logger); } +#endif // SDL_BYTEORDER == SDL_LIL_ENDIAN #endif // USE_SDL2 -- cgit v1.2.3-70-g09d2