summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nt/mingw-cfg.site5
1 files changed, 5 insertions, 0 deletions
diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
index 498cd6798eb..e15d14cc392 100644
--- a/nt/mingw-cfg.site
+++ b/nt/mingw-cfg.site
@@ -136,3 +136,8 @@ ac_cv_func_getrlimit=yes
ac_cv_func_setrlimit=yes
# GCC warnings that produce too much noise
gl_cv_warn_c__Wredundant_decls=no
+# We don't want to compile lib/copy-file-range.c because it isn't used
+# on Windows, and because compiling it triggers a warning about a
+# missing prototype, since lib/unistd.h, where Gnulib has its
+# prototype, isn't built on Windows.
+gl_cv_func_copy_file_range=yes