0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.2.4560: suspending with CTRL-Z does not work on DragonFlyBSD

Problem:    Suspending with CTRL-Z does not work on DragonFlyBSD.
Solution:   Adjust #ifdef. (Ozaki Kiichi, closes #9943)
This commit is contained in:
ichizok
2022-03-13 17:27:38 +00:00
committed by Bram Moolenaar
parent 533870a985
commit 5f823d1e73
2 changed files with 5 additions and 3 deletions

View File

@@ -887,9 +887,9 @@ sig_tstp SIGDEFARG(sigarg)
else
got_tstp = TRUE;
#if !defined(__ANDROID__) && !defined(__OpenBSD__)
// This is not required on all systems. On some systems (at least Android
// and OpenBSD) this breaks suspending with CTRL-Z.
#if !defined(__ANDROID__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
// This is not required on all systems. On some systems (at least Android,
// OpenBSD, and DragonFlyBSD) this breaks suspending with CTRL-Z.
signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp);
#endif
SIGRETURN;