From 8d45a64dda4f4dedbd93144db9c8fcb6076eb712 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 12 Oct 2012 23:59:02 -0500 Subject: Add build support for xine 1.2. Thanks to Francois Andriot. --- amarok/src/engine/xine/xine-engine.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.1