At a minimum MSVC compilers dont have stdint.h.
Anyone see any issues this patch might have on non win32 msvc builds?

Rob
Index: dict.c
===================================================================
--- dict.c	(revision 3741)
+++ dict.c	(working copy)
@@ -20,7 +20,12 @@
 #include "libxml.h"
 
 #include <string.h>
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#elif defined(WIN32)
+typedef unsigned __int32 uint32_t;
+typedef unsigned __int16 uint16_t;
+#endif
 #include <libxml/tree.h>
 #include <libxml/dict.h>
 #include <libxml/xmlmemory.h>
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to