diff options
author | Eli Zaretskii <eliz@gnu.org> | 2024-02-07 15:33:51 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2024-02-07 15:33:51 +0200 |
commit | d03f3a827d80e2a0962128216223bab21998cf0a (patch) | |
tree | 7c0ab893c17822a8a4870e50c0cd6d11d7e0136b /nt | |
parent | e5cb268b2cf612492dfaf39d28f43357710003a6 (diff) | |
download | emacs-d03f3a827d80e2a0962128216223bab21998cf0a.tar.gz |
Don't compile lib/copy-file-range.c on MS-Windows
* nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_copy-file-range): Set to
true to avoid compiling copy-file-range.c on MS-Windows. The
function 'copy_file_range' is not used on MS-Windows, while
compiling the file triggers warnings because lib/unistd.h, where
its prototype is declared, is omitted in the MS-Windows build.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/gnulib-cfg.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nt/gnulib-cfg.mk b/nt/gnulib-cfg.mk index 5b1c2c88ba5..048f812724a 100644 --- a/nt/gnulib-cfg.mk +++ b/nt/gnulib-cfg.mk @@ -46,6 +46,7 @@ OMIT_GNULIB_MODULE_allocator = true OMIT_GNULIB_MODULE_at-internal = true OMIT_GNULIB_MODULE_canonicalize-lgpl = true OMIT_GNULIB_MODULE_careadlinkat = true +OMIT_GNULIB_MODULE_copy-file-range = true OMIT_GNULIB_MODULE_dirent = true OMIT_GNULIB_MODULE_dirfd = true OMIT_GNULIB_MODULE_fchmodat = true |