]> Savannah Git Hosting - gnulib.git/commit
sys_types: Ensure off64_t is defined on all platforms.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2024 17:46:34 +0000 (19:46 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2024 18:03:56 +0000 (20:03 +0200)
commitadc372decc54eea2da8f2a7f5587be939aa8b6e3
tree47c6d0bb8d6b0db4aae4154151899ecd96454494
parent2ece15509476886db4a29ed476a5be3adce8716e
sys_types: Ensure off64_t is defined on all platforms.

* m4/off64_t.m4: New file.
* m4/sys_types_h.m4 (gl_SYS_TYPES_H): Require gl_TYPE_OFF64_T.
* lib/sys_types.in.h (off64_t): New type.
(GNULIB_defined_off64_t): New macro.
* modules/sys_types (Files): Add m4/off64_t.m4.
(configure.ac-early): Require AC_USE_SYSTEM_EXTENSIONS.
(Makefile.am): Substitute HAVE_OFF64_T.
* tests/test-sys_types.c: Verify that off64_t is defined.
* doc/posix-headers/sys_types.texi: Mention the off64_t workaround.
ChangeLog
doc/posix-headers/sys_types.texi
lib/sys_types.in.h
m4/off64_t.m4 [new file with mode: 0644]
m4/sys_types_h.m4
modules/sys_types
tests/test-sys_types.c