diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-02 19:42:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-02 19:42:38 +0300 |
commit | 4b41e05deeef6927863601205dd7a0b5563e803a (patch) | |
tree | bbeb97bd922d14593ad52554fdcb0676ee286eaf /src/resources | |
parent | d977bec3cb85878d746335e7a4fed8b91d841067 (diff) | |
download | mv-4b41e05deeef6927863601205dd7a0b5563e803a.tar.gz mv-4b41e05deeef6927863601205dd7a0b5563e803a.tar.bz2 mv-4b41e05deeef6927863601205dd7a0b5563e803a.tar.xz mv-4b41e05deeef6927863601205dd7a0b5563e803a.zip |
Enable combineSurface test only in little endian systems.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/sdlimagehelper_unittest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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 <SDL_endian.h> +#if SDL_BYTEORDER == SDL_LIL_ENDIAN #include "test/unittests.h" @@ -36,7 +38,6 @@ #include "resources/sdlimagehelper.h" -#include <SDL_endian.h> #include "debug.h" @@ -455,4 +456,5 @@ TEST_CASE("sdlimagehelper combineSurface", "") delete2(logger); } +#endif // SDL_BYTEORDER == SDL_LIL_ENDIAN #endif // USE_SDL2 |