From a634b3c1ca521c79f5f1d5412e68c73e18a39526 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Nov 2016 23:51:03 +0300 Subject: Fix some defines/includes, because in some systems it may works wrong. --- src/resources/dye/dyepalette.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/resources/dye/dyepalette.cpp') diff --git a/src/resources/dye/dyepalette.cpp b/src/resources/dye/dyepalette.cpp index 9ea08331d..b2b2d9832 100644 --- a/src/resources/dye/dyepalette.cpp +++ b/src/resources/dye/dyepalette.cpp @@ -34,14 +34,12 @@ #include #endif // USE_SDL2 +#ifndef SDL_BIG_ENDIAN #include +#endif // SDL_BYTEORDER #include "debug.h" -#ifndef SDL_BYTEORDER -#error missing SDL_endian.h -#endif // SDL_BYTEORDER - DyePalette::DyePalette(const std::string &restrict description, const uint8_t blockSize) : mColors() -- cgit v1.2.3-60-g2f50