1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00
Files
gnulib/modules/windows-stat-override
Bruno Haible 984cbda2ae Rename module sys_stat to sys_stat-h.
* modules/sys_stat-h: Renamed from modules/sys_stat.
* modules/sys_stat-h-tests: Renamed from modules/sys_stat-tests.
* modules/sys_stat-h-c++-tests: Renamed from modules/sys_stat-c++-tests.
* tests/test-sys_stat-h.c: Renamed from tests/test-sys_stat.c.
* tests/test-sys_stat-h-c++.cc: Renamed from tests/test-sys_stat-c++.cc.
* doc/posix-headers/sys_stat.texi: Update.
* doc/posix-functions/mkdir.texi: Update.
* modules/* (Depends-on): Update.
* modules/sys_stat: New file.
2024-12-27 23:40:49 +01:00

31 lines
588 B
Plaintext

Description:
On native Windows platforms, override 'struct stat'.
Comment:
This module should not be used as a dependency from a test module,
otherwise when this module occurs as a tests-related module, it will
have side effects on the compilation of the main modules in lib/.
Files:
Depends-on:
sys_stat-h
configure.ac:
gl_SYS_STAT_H_REQUIRE_DEFAULTS
AC_REQUIRE([AC_CANONICAL_HOST])
case "$host_os" in
mingw* | windows*) gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OVERRIDES_STRUCT_STAT], [1]) ;;
esac
Makefile.am:
Include:
<sys/stat.h>
License:
LGPLv2+
Maintainer:
Bruno Haible