diff src/os_win32.h @ 32425:c0b3e3c7786c v9.0.1544

patch 9.0.1544: recent glibc marks sigset() as a deprecated Commit: https://github.com/vim/vim/commit/378447fc183b589039a5bf257923a86d439b0a91 Author: ichizok <gclient.gaap@gmail.com> Date: Thu May 11 22:25:42 2023 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Thu, 11 May 2023 23:30:04 +0200
parents bf4f25d50fdd
children 448aef880252
line wrap: on
line diff
--- a/src/os_win32.h
+++ b/src/os_win32.h
@@ -95,6 +95,8 @@
 # endif
 #endif
 
+typedef void (*sighandler_T)(int, int);
+
 /*
  * Win32 has plenty of memory, use large buffers
  */