summaryrefslogtreecommitdiff
path: root/lib/fstatat.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-11-05 14:29:10 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-11-05 14:29:26 -0800
commit1d74e2dc33cdac166bd8f59b3b59e7ec885d1f83 (patch)
tree017d00f62e184ca02178fa6e218507af1ceec0d0 /lib/fstatat.c
parent9bcd7f5ce94370600928009732f99552b4008310 (diff)
downloadgnulib-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.c2
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)
{