diff options
author | François Andriot <albator78@libertysurf.fr> | 2018-07-18 19:53:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-07-18 19:54:04 +0900 |
commit | 70747edc88e1933c7d84175314274214adc41947 (patch) | |
tree | fd0d388372147c5d9200ba0b09fe54ca5f1581d5 | |
parent | 3ebeb292bad7ce7c76a030ddd74128dd0ef06c61 (diff) | |
download | tdewebdev-70747edc88e1933c7d84175314274214adc41947.tar.gz tdewebdev-70747edc88e1933c7d84175314274214adc41947.zip |
Fixed FTBFS with libxml2 >= 2.9.8
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9a0e63020401f11541d46104a01a09e805032223)
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/breakpoint.cpp | 4 | ||||
-rw-r--r-- | kxsldbg/kxsldbgpart/libxsldbg/breakpoint.h | 4 |
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 |