neon/Library_neon.mk | 6 ++++++ ucb/source/ucp/webdav-neon/NeonSession.cxx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-)
New commits: commit 0e838cead94a0e4627e12fb55b4b8c29e9905d4c Author: Tor Lillqvist <t...@iki.fi> Date: Tue Mar 5 14:29:16 2013 +0200 Call ne_debug_init() in a debug build Change-Id: I08d540bdbe32ba9df994528bac97ac76e587795a diff --git a/ucb/source/ucp/webdav-neon/NeonSession.cxx b/ucb/source/ucp/webdav-neon/NeonSession.cxx index 2ff06ae..78a3d55 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.cxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.cxx @@ -695,7 +695,7 @@ void NeonSession::Init() // #122205# - libxml2 needs to be initialized once if used by // multithreaded programs like OOo. xmlInitParser(); -#if 0 +#if OSL_DEBUG_LEVEL > 0 // for more debug flags see ne_utils.h; NE_DEBUGGING must be defined // while compiling neon in order to actually activate neon debug // output. commit 712ef1617791a0f4214f8978484f5be11678aab6 Author: Tor Lillqvist <t...@iki.fi> Date: Tue Mar 5 14:20:55 2013 +0200 Turn on NE_DEBUGGING in a debug build Change-Id: I9ca6ea16868fd41c5547fdca547184bf73e134e1 diff --git a/neon/Library_neon.mk b/neon/Library_neon.mk index 89ac092..80424fe 100644 --- a/neon/Library_neon.mk +++ b/neon/Library_neon.mk @@ -26,6 +26,12 @@ $(eval $(call gb_Library_add_cflags,neon,\ -w \ )) +ifneq ($(debug),) +$(eval $(call gb_Library_add_cflags,neon,\ + -DNE_DEBUGGING \ +)) +endif + $(eval $(call gb_Library_set_warnings_not_errors,neon)) $(eval $(call gb_Library_add_generated_cobjects,neon,\ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits