diff options
Diffstat (limited to 'src/resources/dye/dye.cpp')
-rw-r--r-- | src/resources/dye/dye.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/dye/dye.cpp b/src/resources/dye/dye.cpp index e37b2e943..eac52f638 100644 --- a/src/resources/dye/dye.cpp +++ b/src/resources/dye/dye.cpp @@ -30,14 +30,12 @@ #include <sstream> +#ifndef SDL_BIG_ENDIAN #include <SDL_endian.h> +#endif // SDL_BYTEORDER #include "debug.h" -#ifndef SDL_BYTEORDER -#error missing SDL_endian.h -#endif // SDL_BYTEORDER - Dye::Dye(const std::string &restrict description) { for (int i = 0; i < dyePalateSize; ++i) |