aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sys_stat.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys_stat.in.h')
-rw-r--r--lib/sys_stat.in.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/sys_stat.in.h b/lib/sys_stat.in.h
index 89e167f6d1c..3e0e4b27b7e 100644
--- a/lib/sys_stat.in.h
+++ b/lib/sys_stat.in.h
@@ -391,6 +391,12 @@ struct stat
391#endif 391#endif
392 392
393 393
394#if defined _WIN32 && !defined __CYGWIN__
395# undef chmod
396# define chmod _chmod
397#endif
398
399
394#if @GNULIB_FCHMODAT@ 400#if @GNULIB_FCHMODAT@
395# if @REPLACE_FCHMODAT@ 401# if @REPLACE_FCHMODAT@
396# if !(defined __cplusplus && defined GNULIB_NAMESPACE) 402# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
@@ -432,7 +438,9 @@ _GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf));
432# else 438# else
433_GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf)); 439_GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf));
434# endif 440# endif
441# if __GLIBC__ >= 2
435_GL_CXXALIASWARN (fstat); 442_GL_CXXALIASWARN (fstat);
443# endif
436#elif @GNULIB_OVERRIDES_STRUCT_STAT@ 444#elif @GNULIB_OVERRIDES_STRUCT_STAT@
437# undef fstat 445# undef fstat
438# define fstat fstat_used_without_requesting_gnulib_module_fstat 446# define fstat fstat_used_without_requesting_gnulib_module_fstat
@@ -800,6 +808,12 @@ _GL_WARN_ON_USE (stat, "stat is unportable - "
800#endif 808#endif
801 809
802 810
811#if defined _WIN32 && !defined __CYGWIN__
812# undef umask
813# define umask _umask
814#endif
815
816
803#if @GNULIB_UTIMENSAT@ 817#if @GNULIB_UTIMENSAT@
804/* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our utimensat 818/* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our utimensat
805 implementation relies on futimesat, which on Solaris 10 makes an invocation 819 implementation relies on futimesat, which on Solaris 10 makes an invocation