diff options
author | François Andriot <[email protected]> | 2018-07-18 19:53:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-07-18 19:53:17 +0900 |
commit | 9a0e63020401f11541d46104a01a09e805032223 (patch) | |
tree | 09ef01c7c024dd7d4ff2fc145e914c48d3b29a1e | |
parent | 48f8d96999dcd8c46c733b17d9d6c8b57e6f02ac (diff) | |
download | tdewebdev-9a0e63020401f11541d46104a01a09e805032223.tar.gz tdewebdev-9a0e63020401f11541d46104a01a09e805032223.zip |
Fixed FTBFS with libxml2 >= 2.9.8
Signed-off-by: Michele Calgaro <[email protected]>
-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 |