Re: [xml] libxml2-2.7.1, solaris 8, and xmlDictComputeBigKey



On Tue, Sep 02, 2008 at 11:09:38AM -0400, Matt Goebel wrote:

Hi,

  The changes around line 266 in dict.c which relate to 
xmlDictComputeBigKey, at least on solaris, require the inclusion 
of <sys/int_types.h> to pick up the defintion of uint8_t and uint16_t.

  hum, isn't there a more common header allowing to get those included ?
Seems stdint.h should allow this and we already have

#ifdef HAVE_STDINT_H
#include <stdint.h>
#elif defined(WIN32)
typedef unsigned __int32 uint32_t;
#endif

  does solaris really not have stdint.h ?
I can't directly include sys/int_types.h , adding autodetect in
configure.in should be possible but i would prefer to receive a tested
patch in that case.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



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