diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-10 13:27:46 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-10 13:27:46 +0200 |
commit | 38ec48ffacb8d59ac0f58ff4c81719aba7491cfd (patch) | |
tree | da9b8583c8d6352b488cde39f96a5a49c8211cf5 /domino | |
parent | b05e2f53ba37515a34caa41cdc6e649e76ea47ae (diff) | |
download | tde-style-domino-38ec48ffacb8d59ac0f58ff4c81719aba7491cfd.tar.gz tde-style-domino-38ec48ffacb8d59ac0f58ff4c81719aba7491cfd.zip |
Delete the WORDS_BIGENDIAN definition repeat.
Detection of whether the system is big / little endian
is already done during configuration.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'domino')
-rw-r--r-- | domino/misc.cpp | 17 |
1 files 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 <tqcolor.h> -#include "misc.h" #include <tqimage.h> #include <tqpixmap.h> -#include <endian.h> - -#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) |