diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-11-05 14:29:10 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-11-05 14:29:26 -0800 |
commit | 1d74e2dc33cdac166bd8f59b3b59e7ec885d1f83 (patch) | |
tree | 017d00f62e184ca02178fa6e218507af1ceec0d0 /lib/fstatat.c | |
parent | 9bcd7f5ce94370600928009732f99552b4008310 (diff) | |
download | gnulib-1d74e2dc33cdac166bd8f59b3b59e7ec885d1f83.tar.gz |
fstatat: pacify GCC on unusual platform
* lib/fstatat.c (orig_fstatat) [!HAVE_WORKING_FSTATAT_ZERO_FLAG]:
Omit, as it’s unused in this case.
Diffstat (limited to 'lib/fstatat.c')
-rw-r--r-- | lib/fstatat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fstatat.c b/lib/fstatat.c index 67e48d95d7..294861f51b 100644 --- a/lib/fstatat.c +++ b/lib/fstatat.c @@ -28,7 +28,7 @@ #include <sys/stat.h> #undef __need_system_sys_stat_h -#if HAVE_FSTATAT +#if HAVE_FSTATAT && HAVE_WORKING_FSTATAT_ZERO_FLAG static int orig_fstatat (int fd, char const *filename, struct stat *buf, int flags) { |