summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/libxsldbg
diff options
context:
space:
mode:
Diffstat (limited to 'kxsldbg/kxsldbgpart/libxsldbg')
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp4
-rw-r--r--kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp
index 270ce82d..56a3ad20 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp
+++ b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp
@@ -283,7 +283,11 @@ breakPointItemNew(void)
* Free memory associated with this break point
*/
void
+#if LIBXML_VERSION >= 20908
+breakPointItemFree(void *payload, const xmlChar * name)
+#else
breakPointItemFree(void *payload, xmlChar * name)
+#endif
{
Q_UNUSED(name);
if (payload) {
diff --git a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
index 83f2e712..fd410366 100644
--- a/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
+++ b/kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h
@@ -486,7 +486,11 @@ extern "C" {
*/
#endif
#endif
+#if LIBXML_VERSION >= 20908
+ void breakPointItemFree(void *payload, const xmlChar * name);
+#else
void breakPointItemFree(void *payload, xmlChar * name);
+#endif