summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--domino/misc.cpp17
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)