diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-12 23:59:02 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-10-12 23:59:02 -0500 |
commit | 8d45a64dda4f4dedbd93144db9c8fcb6076eb712 (patch) | |
tree | 0b54577d4aeb27322d41881581d9035b63550a01 | |
parent | 095f615ab0c1a5494b6fbbf0d71acbf6ef041304 (diff) | |
download | amarok-8d45a64dda4f4dedbd93144db9c8fcb6076eb712.tar.gz amarok-8d45a64dda4f4dedbd93144db9c8fcb6076eb712.zip |
Add build support for xine 1.2.
Thanks to Francois Andriot.
-rw-r--r-- | amarok/src/engine/xine/xine-engine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/amarok/src/engine/xine/xine-engine.cpp b/amarok/src/engine/xine/xine-engine.cpp index 19f979c9..1d284c98 100644 --- a/amarok/src/engine/xine/xine-engine.cpp +++ b/amarok/src/engine/xine/xine-engine.cpp @@ -1131,7 +1131,11 @@ bool XineEngine::metaDataForUrl(const KURL &url, Engine::SimpleMetaBundle &b) bool XineEngine::getAudioCDContents(const TQString &device, KURL::List &urls) { +#if XINE_MAJOR_VERSION > 1 || ( XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION >= 2 ) + const char * const* xine_urls = NULL; +#else char **xine_urls = NULL; +#endif int num; int i = 0; |