From 2deddec224632954448174da8bd6f4108f8b2206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 5 Jun 2012 02:24:52 +0200 Subject: Fix FTBFS This closes Bug 727 An alternative way to compile with the original tqtinterface v3.5.13 --- kaffeine/src/player-parts/xine-part/kxinewidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp index 68d47ac..1c738f7 100644 --- a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp +++ b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp @@ -1517,11 +1517,11 @@ bool KXineWidget::playDvb() #error Q_BYTE_ORDER is not defined! #endif -#ifndef TQ_LITTLE_ENDIAN -#error TQ_LITTLE_ENDIAN is not defined! +#ifndef Q_LITTLE_ENDIAN +#error Q_LITTLE_ENDIAN is not defined! #endif -#if Q_BYTE_ORDER == TQ_LITTLE_ENDIAN +#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN #define rgb2yuv(R,G,B) ((((((66*R+129*G+25*B+128)>>8)+16)<<8)|(((112*R-94*G-18*B+128)>>8)+128))<<8|(((-38*R-74*G+112*B+128)>>8)+128)) #else #define rgb2yuv(R,G,B) (((((((-38*R-74*G+112*B+128)>>8)+128)<<8)|(((112*R-94*G-18*B+128)>>8)+128))<<8|(((66*R+129*G+25*B+128)>>8)+16))<<8) @@ -4076,7 +4076,7 @@ uchar* KXineWidget::yv12ToRgb (uint8_t *src_y, uint8_t *src_u, uint8_t *src_v, i clip_8_bit (g); clip_8_bit (b); -#if Q_BYTE_ORDER == TQ_LITTLE_ENDIAN +#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN rgb[(i * width + j) * 4 + 0] = b; rgb[(i * width + j) * 4 + 1] = g; rgb[(i * width + j) * 4 + 2] = r; -- cgit v1.2.1