From dca5154e6690286b04a8cb7c7c6f2ef63e0b56df Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 21 Dec 2016 23:18:11 +0300 Subject: Move buildhex macro into separate file. --- src/resources/dye/dye_unittest.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/resources/dye/dye_unittest.cc') diff --git a/src/resources/dye/dye_unittest.cc b/src/resources/dye/dye_unittest.cc index e72609329..c06d0aacb 100644 --- a/src/resources/dye/dye_unittest.cc +++ b/src/resources/dye/dye_unittest.cc @@ -48,20 +48,8 @@ #include #endif // USE_SDL2 -#ifndef SDL_BIG_ENDIAN -#include -#endif // SDL_BYTEORDER - #include "debug.h" -#if SDL_BYTEORDER == SDL_BIG_ENDIAN -#define buildHex(a, b, c, d) \ - (d) * 16777216U + (c) * 65536U + (b) * 256U + CAST_U32(a) -#else // SDL_BYTEORDER == SDL_BIG_ENDIAN -#define buildHex(a, b, c, d) \ - (a) * 16777216U + (b) * 65536U + (c) * 256U + CAST_U32(d) -#endif // SDL_BYTEORDER == SDL_BIG_ENDIAN - #ifdef USE_OPENGL TEST_CASE("Dye replaceSOGLColor 1 1") -- cgit v1.2.3-60-g2f50