[xslt] patch for VS 2008



Patch allows building with VS 2008 on win32

Rob
Index: libxslt/win32config.h
===================================================================
--- libxslt/win32config.h	(revision 1457)
+++ libxslt/win32config.h	(working copy)
@@ -80,8 +80,10 @@
 #if defined(_MSC_VER) || defined(__MINGW32__)
 #define mkdir(p,m) _mkdir(p)
 #define snprintf _snprintf
+#if _MSC_VER < 1500
 #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
 #endif
+#endif
 
 #define HAVE_SYS_STAT_H
 #define HAVE__STAT


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