19 lines
501 B
Diff
19 lines
501 B
Diff
|
https://github.com/vim/vim/commit/cbef12e60b2c5a4f026172ab9873deaab2e70cf2
|
||
|
|
||
|
diff --git a/src/os_unix.c b/src/os_unix.c
|
||
|
index d36eb46a2c47..58f8276fb595 100644
|
||
|
--- a/src/os_unix.c
|
||
|
+++ b/src/os_unix.c
|
||
|
@@ -887,8 +887,10 @@ sig_tstp SIGDEFARG(sigarg)
|
||
|
else
|
||
|
got_tstp = TRUE;
|
||
|
|
||
|
- // this is not required on all systems, but it doesn't hurt anybody
|
||
|
+#ifndef __ANDROID__
|
||
|
+ // this is not required on all systems
|
||
|
signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp);
|
||
|
+#endif
|
||
|
SIGRETURN;
|
||
|
}
|
||
|
#endif
|