Hash :
83dd4db8
Author :
Date :
2024-05-18T06:36:55
endian: Make sure system headers can be included. Reported by Bruno Haible in <https://lists.gnu.org/archive/html/bug-gnulib/2024-05/msg00290.html>. * lib/endian.in.h (be16toh, be32toh, be64toh, htobe16, htobe32, htobe64) (le16toh, le32toh, le64toh, htole16, htole32, htole64): Don't define functions if the system has working versions. * m4/endian_h.m4 (gl_ENDIAN_H): Separate checks for stdint types and proper macro/function definitions. * modules/endian (Depends-on): Add include_next. Update module dependency conditions. (Makefile.am): Perform sed replacements on the header substitute.
This directory contains metainformation about the gnulib modules, one or two
files per module. These files are used by gnulib-tool.
For every module,
- the file <module> is the metainformation about the library code of the
module,
- the file <module>-tests is the metainformation about the unit test of
the module (optional but recommended).
All the files in this directory are distributed under the following copyright:
Copyright (C) 2002-2024 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
in any medium, are permitted without royalty provided the copyright
notice and this notice are preserved.