Hi/2. Paul Eggert wrote: > KO Myung-Hun wrote: > >> +/* kLIBC's stdint.h defines _INTPTR_T_DECLARED and needs its own >> + definitions of intptr_t and uintptr_t (which use int and unsigned) >> + to avoid clashes with declarations of system functions like sbrk. */ >> +#ifndef _INTPTR_T_DECLARED >> +# undef intptr_t >> +# undef uintptr_t > > Why is gnulib's stdint.in.h being used at all? That is, what part of > kLIBC's stdint.h fails the test in m4/stdint.m4, and why can't this be > fixed in kLIBC?
kLIBC typedefs wchar_t to unsigned short. But it defines WCHAR_MIN and WCHAR_MAX to __INT_MIN/INT32_MIN and __INT_MAX/INT32_MAX, respectively. And I already reported this problem to a kLIBC maintainer. http://trac.netlabs.org/libc/ticket/332 -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr