]> git.eshelyaron.com Git - emacs.git/commit
Don't compile lib/copy-file-range.c on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Wed, 7 Feb 2024 13:33:51 +0000 (15:33 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 7 Feb 2024 19:59:34 +0000 (20:59 +0100)
commit337b4513eff72baf1b8df1cb0a33a24201e1e87f
tree11643d3c50cddcfa1a153c8c782170480d1548c4
parent69a2b424f2451ed56ee06773606625b38ba5cb6a
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.

(cherry picked from commit d03f3a827d80e2a0962128216223bab21998cf0a)
nt/gnulib-cfg.mk