Error out if critical OSD-related defines are not set

(cherry picked from commit 25b89439bb)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 1728445a27
commit 13f5957403

@ -1513,6 +1513,14 @@ bool KXineWidget::playDvb()
return true;
}
#ifndef Q_BYTE_ORDER
#error Q_BYTE_ORDER is not defined!
#endif
#ifndef TQ_LITTLE_ENDIAN
#error TQ_LITTLE_ENDIAN is not defined!
#endif
#if Q_BYTE_ORDER == TQ_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

Loading…
Cancel
Save