[xml] TRIO patch for 2.5.5



Need to use trio libraries in Python modules as well.

-- 
albert chin (china thewrittenword com)

-- snip snip
--- python/libxml.c.orig        Tue Mar 25 13:14:09 2003
+++ python/libxml.c     Tue Mar 25 13:40:12 2003
@@ -27,6 +27,9 @@
 
 #if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(vsnprintf)
 #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
+#elif WITH_TRIO
+#include "trio.h"
+#define vsnprintf trio_vsnprintf
 #endif
 
 /* #define DEBUG */
--- python/Makefile.am.orig     Mon Jan  6 06:28:32 2003
+++ python/Makefile.am  Tue Mar 25 13:43:05 2003
@@ -4,6 +4,7 @@
 SUBDIRS= . tests
 
 INCLUDES = \
+       -DWITH_TRIO=$(WITH_TRIO) \
        -I$(PYTHON_INCLUDES) \
        -I$(top_srcdir)/include
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]