[xml] dict hashing build problem
- From: Rob Richards <rrichards ctindustries net>
- To: xml gnome org
- Subject: [xml] dict hashing build problem
- Date: Tue, 29 Apr 2008 12:08:10 -0400
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]