[xslt] Misc patches for Win32/MSVC
- From: Igor Zlatkovic <igor stud fh-frankfurt de>
- To: <xslt gnome org>
- Subject: [xslt] Misc patches for Win32/MSVC
- Date: Mon, 1 Oct 2001 12:18:36 +0100
Hello everyone.
Win32/MSVC users need few changes in order to keep up with the rest of the
world :-)
Libexslt has gained two new source files, date.c and strings.c. I have
modified the MSVC project files to include these into the build. The new
project files can be found in the attachment that answers to the name
libxslt.dsp.zip. The ZIP archive contains two project files, libxslt_a.dsp
and libxslt_so.dsp, which should be extracted in win32/dsp subdirectory,
overwriting whatever is in the way.
The conditional feature DEBUG_MEMORY and DEBUG_MEMORY_LOCATION has been
introduced in libxslt/xsltconfig.h.in. Here is a patch which includes it in
libxsltwin32config.h.in as well:
*** libxslt/libxslt/xsltwin32config.h.in 2001/08/03 12:26:16 1.2
--- libxslt/libxslt/xsltwin32config.h.in 2001/10/01 09:49:50
***************
*** 48,53 ****
--- 48,73 ----
#define WITH_XSLT_DEBUG
#endif
+ #if 0
+ /**
+ * DEBUG_MEMORY:
+ *
+ * should be activated only when debugging libxslt. It replaces the
+ * allocator with a collect and debug shell to the libc allocator.
+ * Use configure --with-mem-debug to activate it on both library
+ */
+ #define DEBUG_MEMORY
+
+ /**
+ * DEBUG_MEMORY_LOCATION:
+ *
+ * should be activated only when debugging libxslt.
+ * DEBUG_MEMORY_LOCATION should be activated only when libxml has
+ * been configured with --with-debug-mem too
+ */
+ #define DEBUG_MEMORY_LOCATION
+ #endif
+
/**
* ATTRIBUTE_UNUSED:
*
Cheers
Igor
libxslt.dsp.zip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]