diff options
| author | Eli Zaretskii | 2019-06-07 11:15:51 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-06-07 11:15:51 +0300 |
| commit | 480da9f2216d16fb30f42e7e2e40774cf2ea48b7 (patch) | |
| tree | 39c4a2b584d61b44e2a566dc047704d34a7f1183 | |
| parent | cfb592fd4bf10b4892b58adc35dae1430dcb3ba7 (diff) | |
| download | emacs-480da9f2216d16fb30f42e7e2e40774cf2ea48b7.tar.gz emacs-480da9f2216d16fb30f42e7e2e40774cf2ea48b7.zip | |
Avoid compiler warning in copy-file-range.c on MS-Windows
* nt/mingw-cfg.site (gl_cv_func_copy_file_range): Set to "yes",
to avoid compiling lib/copy-file-range.c on MS-Windows.
| -rw-r--r-- | nt/mingw-cfg.site | 5 |
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 | |||
| 136 | ac_cv_func_setrlimit=yes | 136 | ac_cv_func_setrlimit=yes |
| 137 | # GCC warnings that produce too much noise | 137 | # GCC warnings that produce too much noise |
| 138 | gl_cv_warn_c__Wredundant_decls=no | 138 | gl_cv_warn_c__Wredundant_decls=no |
| 139 | # We don't want to compile lib/copy-file-range.c because it isn't used | ||
| 140 | # on Windows, and because compiling it triggers a warning about a | ||
| 141 | # missing prototype, since lib/unistd.h, where Gnulib has its | ||
| 142 | # prototype, isn't built on Windows. | ||
| 143 | gl_cv_func_copy_file_range=yes | ||