Adrian Ebeling wrote: > I'm talking about systems that have *neither* pathconf() nor fpathconf().
Oh, I see. So, you mean native Windows. Fixed: 2020-12-20 Bruno Haible <br...@clisp.org> backupfile: Fix compilation error on native Windows (regr. 2018-10-23). Reported by Adrian Ebeling <adrianebel...@gmx.de> in <https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00156.html>. * lib/backupfile.c (fpathconf): Define fallback, like for pathconf. diff --git a/lib/backupfile.c b/lib/backupfile.c index dfc29e8..02ba054 100644 --- a/lib/backupfile.c +++ b/lib/backupfile.c @@ -43,6 +43,7 @@ #if ! (HAVE_PATHCONF && defined _PC_NAME_MAX) # define pathconf(file, option) (errno = -1) +# define fpathconf(fd, option) (errno = -1) #endif #ifndef _POSIX_NAME_MAX