diff options
author | Timothy Pearson <[email protected]> | 2012-01-17 21:52:22 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-01-17 21:52:22 -0600 |
commit | 25b89439bbdcbc245b2a4125d2345afaa32fb952 (patch) | |
tree | c92c844811c7345aa924effc0b6a9a6e78f599ae | |
parent | 4996d63e1c53de99c7f60fb8ede19d24bf101bd8 (diff) | |
download | kaffeine-25b89439bbdcbc245b2a4125d2345afaa32fb952.tar.gz kaffeine-25b89439bbdcbc245b2a4125d2345afaa32fb952.zip |
Error out if critical OSD-related defines are not set
-rw-r--r-- | kaffeine/src/player-parts/xine-part/kxinewidget.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp index acc9937..68d47ac 100644 --- a/kaffeine/src/player-parts/xine-part/kxinewidget.cpp +++ b/kaffeine/src/player-parts/xine-part/kxinewidget.cpp @@ -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 |