summaryrefslogtreecommitdiffstats
path: root/gl/sys_stat.in.h
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-09-14 12:50:23 +0200
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2022-09-14 12:50:23 +0200
commit1909de2e843f1dfd5e031d3d4aa6901a5b9a139d (patch)
tree8f33ed557df0957c028de952d06763346ac4acea /gl/sys_stat.in.h
parent5da988e07a96ff154db040befb5472f0dc784a17 (diff)
downloadmonitoring-plugins-1909de2e843f1dfd5e031d3d4aa6901a5b9a139d.tar.gz
Add Gnulib module "crypto/sha256" and remote "crypto/sha1"
Diffstat (limited to 'gl/sys_stat.in.h')
-rw-r--r--gl/sys_stat.in.h76
1 files changed, 38 insertions, 38 deletions
diff --git a/gl/sys_stat.in.h b/gl/sys_stat.in.h
index 714c3cb1..0ec320f5 100644
--- a/gl/sys_stat.in.h
+++ b/gl/sys_stat.in.h
@@ -596,44 +596,6 @@ _GL_WARN_ON_USE (lchmod, "lchmod is unportable - "
596#endif 596#endif
597 597
598 598
599#if @GNULIB_LSTAT@
600# if ! @HAVE_LSTAT@
601/* mingw does not support symlinks, therefore it does not have lstat. But
602 without links, stat does just fine. */
603# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
604# define lstat stat
605# endif
606_GL_CXXALIAS_RPL_1 (lstat, stat, int,
607 (const char *restrict name, struct stat *restrict buf));
608# elif @REPLACE_LSTAT@
609# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
610# undef lstat
611# define lstat rpl_lstat
612# endif
613_GL_FUNCDECL_RPL (lstat, int,
614 (const char *restrict name, struct stat *restrict buf)
615 _GL_ARG_NONNULL ((1, 2)));
616_GL_CXXALIAS_RPL (lstat, int,
617 (const char *restrict name, struct stat *restrict buf));
618# else
619_GL_CXXALIAS_SYS (lstat, int,
620 (const char *restrict name, struct stat *restrict buf));
621# endif
622# if @HAVE_LSTAT@
623_GL_CXXALIASWARN (lstat);
624# endif
625#elif @GNULIB_OVERRIDES_STRUCT_STAT@
626# undef lstat
627# define lstat lstat_used_without_requesting_gnulib_module_lstat
628#elif defined GNULIB_POSIXCHECK
629# undef lstat
630# if HAVE_RAW_DECL_LSTAT
631_GL_WARN_ON_USE (lstat, "lstat is unportable - "
632 "use gnulib module lstat for portability");
633# endif
634#endif
635
636
637#if @GNULIB_MKDIR@ 599#if @GNULIB_MKDIR@
638# if @REPLACE_MKDIR@ 600# if @REPLACE_MKDIR@
639# if !(defined __cplusplus && defined GNULIB_NAMESPACE) 601# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
@@ -895,6 +857,44 @@ _GL_WARN_ON_USE (stat, "stat is unportable - "
895#endif 857#endif
896 858
897 859
860#if @GNULIB_LSTAT@
861# if ! @HAVE_LSTAT@
862/* mingw does not support symlinks, therefore it does not have lstat. But
863 without links, stat does just fine. */
864# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
865# define lstat stat
866# endif
867_GL_CXXALIAS_RPL_1 (lstat, stat, int,
868 (const char *restrict name, struct stat *restrict buf));
869# elif @REPLACE_LSTAT@
870# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
871# undef lstat
872# define lstat rpl_lstat
873# endif
874_GL_FUNCDECL_RPL (lstat, int,
875 (const char *restrict name, struct stat *restrict buf)
876 _GL_ARG_NONNULL ((1, 2)));
877_GL_CXXALIAS_RPL (lstat, int,
878 (const char *restrict name, struct stat *restrict buf));
879# else
880_GL_CXXALIAS_SYS (lstat, int,
881 (const char *restrict name, struct stat *restrict buf));
882# endif
883# if @HAVE_LSTAT@
884_GL_CXXALIASWARN (lstat);
885# endif
886#elif @GNULIB_OVERRIDES_STRUCT_STAT@
887# undef lstat
888# define lstat lstat_used_without_requesting_gnulib_module_lstat
889#elif defined GNULIB_POSIXCHECK
890# undef lstat
891# if HAVE_RAW_DECL_LSTAT
892_GL_WARN_ON_USE (lstat, "lstat is unportable - "
893 "use gnulib module lstat for portability");
894# endif
895#endif
896
897
898#if @GNULIB_MDA_UMASK@ 898#if @GNULIB_MDA_UMASK@
899/* On native Windows, map 'umask' to '_umask', so that -loldnames is not 899/* On native Windows, map 'umask' to '_umask', so that -loldnames is not
900 required. In C++ with GNULIB_NAMESPACE, avoid differences between 900 required. In C++ with GNULIB_NAMESPACE, avoid differences between