bug-gnulib
[Top][All Lists]
Advanced

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

endian: New module.


From: Collin Funk
Subject: endian: New module.
Date: Mon, 13 May 2024 04:51:23 -0700
User-agent: Mozilla Thunderbird

I haven't pushed this since it is my first time attempting the gnulib
header wizardry and doing anything of value in Autoconf.

The configure check should check for unique values of LITTLE_ENDIAN
and BIG_ENDIAN, and that BYTE_ORDER is defined to one of them. POSIX
doesn't require PDP_ENDIAN and I would rather not think about it. :)

Then it checks for uint16_t, uint32_t, and uint64_t being defined and
the existence of the be16toh macros/functions and friends.

Let me know if I missed anything. Other than the docs and test module
which I can do later today (assuming this patch is decent enough).

Collin

Attachment: 0001-endian-New-module.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]