Re: [PATCH v16 01/20] posix_wrap: tweaks in preparation for libtasn1

2024-06-06 Thread Gary Lin via Grub-devel
On Wed, Jun 05, 2024 at 04:45:07PM +0200, Daniel Kiper wrote: > On Wed, May 15, 2024 at 01:06:53PM +0800, Gary Lin wrote: > > From: Daniel Axtens > > > > - Define SIZEOF_UNSIGNED_LONG_INT, it's the same as > >SIZEOF_UNSIGNED_LONG. > > > > - Define WORD_BIT, the size in bits of an int. This i

Re: [PATCH v16 01/20] posix_wrap: tweaks in preparation for libtasn1

2024-06-05 Thread Daniel Kiper via Grub-devel
On Wed, May 15, 2024 at 01:06:53PM +0800, Gary Lin wrote: > From: Daniel Axtens > > - Define SIZEOF_UNSIGNED_LONG_INT, it's the same as >SIZEOF_UNSIGNED_LONG. > > - Define WORD_BIT, the size in bits of an int. This is a defined >in the Single Unix Specification and in gnulib's limits.h.

[PATCH v16 01/20] posix_wrap: tweaks in preparation for libtasn1

2024-05-14 Thread Gary Lin via Grub-devel
From: Daniel Axtens - Define SIZEOF_UNSIGNED_LONG_INT, it's the same as SIZEOF_UNSIGNED_LONG. - Define WORD_BIT, the size in bits of an int. This is a defined in the Single Unix Specification and in gnulib's limits.h. gnulib assumes it's 32 bits on all our platforms, including 64 bit