mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
vim-patch:8.1.0941: macros for MS-Windows are inconsistent (#20215)
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes vim/vim#3932)
4f97475d32
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <assert.h>
|
||||
#include <stdbool.h>
|
||||
#include <uv.h>
|
||||
#ifndef WIN32
|
||||
#ifndef MSWIN
|
||||
# include <signal.h> // for sigset_t
|
||||
#endif
|
||||
|
||||
@@ -34,7 +34,7 @@ static bool rejecting_deadly;
|
||||
|
||||
void signal_init(void)
|
||||
{
|
||||
#ifndef WIN32
|
||||
#ifndef MSWIN
|
||||
// Ensure a clean slate by unblocking all signals. For example, if SIGCHLD is
|
||||
// blocked, libuv may hang after spawning a subprocess on Linux. #5230
|
||||
sigset_t mask;
|
||||
|
Reference in New Issue
Block a user