From 38ec48ffacb8d59ac0f58ff4c81719aba7491cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 10 Jul 2020 13:27:46 +0200 Subject: [PATCH] Delete the WORDS_BIGENDIAN definition repeat. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Detection of whether the system is big / little endian is already done during configuration. Signed-off-by: Slávek Banko --- domino/misc.cpp | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/domino/misc.cpp b/domino/misc.cpp index 131149c..e9d68be 100644 --- a/domino/misc.cpp +++ b/domino/misc.cpp @@ -18,22 +18,15 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include -#include "misc.h" #include #include -#include - -#if __BYTE_ORDER == __LITTLE_ENDIAN -#undef WORDS_BIGENDIAN -#define WORDS_LITTLEENDIAN 1 -#endif -#if __BYTE_ORDER == __BIG_ENDIAN - #undef WORDS_LITTLEENDIAN - #define WORDS_BIGENDIAN 1 -#endif - +#include "misc.h" TQColor alphaBlendColors(const TQColor &bgColor, const TQColor &fgColor, const int a)