commit | 378447fc183b589039a5bf257923a86d439b0a91 | [log] [tgz] |
---|---|---|
author | ichizok <gclient.gaap@gmail.com> | Thu May 11 22:25:42 2023 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu May 11 22:25:42 2023 +0100 |
tree | b1e666683049b74577fec1bf647a3059dcfb80b9 | |
parent | 5d01f86d99bc3a3fd92d4f4e9338a9e78e9ebe16 [diff] [blame] |
patch 9.0.1544: recent glibc marks sigset() as a deprecated Problem: Recent glibc marks sigset() as a deprecated. Solution: Use sigaction() in mch_signal() if possible. (Ozaki Kiichi, closes #12373)
diff --git a/src/os_unix.h b/src/os_unix.h index d87ec90..c03e293 100644 --- a/src/os_unix.h +++ b/src/os_unix.h
@@ -98,6 +98,8 @@ # define SIGDUMMYARG #endif +typedef void (*sighandler_T) SIGPROTOARG; + #ifdef HAVE_DIRENT_H # include <dirent.h> # ifndef NAMLEN