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>
pull/2/head
Slávek Banko 4 years ago
parent b05e2f53ba
commit 38ec48ffac
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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)

Loading…
Cancel
Save