Re: [xml] TRIO patch for 2.5.5



On Tue, Mar 25, 2003 at 01:44:41PM -0600, Albert Chin wrote:
Need to use trio libraries in Python modules as well.

Uh oh. Use this patch instead.

-- 
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 defined(WITH_TRIO)
+#include "trio.h"
+#define vsnprintf trio_vsnprintf
 #endif
 
 /* #define DEBUG */



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