Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem cross building NetBSD under Mac OS X Snow Leopard

On Thu 12 Nov 2009 at 01:31:21 +0100, Rhialto wrote:
> it's a bit of a swamp....

The best way is probably to replace the use of id_t by uid_t and gid_t,
and to duplicate the one function which uses id_t for either, or to use
some temp variable at its call to store in the result.

id_t seems to be 64 bits but uid_t 32 bits on this system.

/usr/include/sys/_types.h:typedef       __uint32_t      __uid_t;
/usr/include/sys/_types.h:typedef       __int64_t       __id_t;

___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
\X/ rhialto/at/      -- Cetero censeo "authored" delendum esse.

Home | Main Index | Thread Index | Old Index