libxml2 r3742 - trunk



Author: rrichard
Date: Sat May  3 12:34:25 2008
New Revision: 3742
URL: http://svn.gnome.org/viewvc/libxml2?rev=3742&view=rev

Log:
* dict.c: check for stdint.h and define types when using MSVC

Modified:
   trunk/ChangeLog
   trunk/dict.c

Modified: trunk/dict.c
==============================================================================
--- trunk/dict.c	(original)
+++ trunk/dict.c	Sat May  3 12:34:25 2008
@@ -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>



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