diff options
Diffstat (limited to 'data/vim/sigaltstack.diff')
-rw-r--r-- | data/vim/sigaltstack.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/vim/sigaltstack.diff b/data/vim/sigaltstack.diff new file mode 100644 index 000000000..e1a9457e0 --- /dev/null +++ b/data/vim/sigaltstack.diff @@ -0,0 +1,16 @@ +diff -ru vim71/src/os_unix.c vim71+iPhone/src/os_unix.c +--- vim71/src/os_unix.c 2007-05-09 19:41:58.000000000 +0000 ++++ vim71+iPhone/src/os_unix.c 2008-01-01 12:27:46.000000000 +0000 +@@ -753,12 +753,6 @@ + if (signal_stack != NULL) + { + # ifdef HAVE_SIGALTSTACK +-# ifdef __APPLE__ +- /* missing prototype. Adding it to osdef?.h.in doesn't work, because +- * "struct sigaltstack" needs to be declared. */ +- extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss)); +-# endif +- + # ifdef HAVE_SS_BASE + sigstk.ss_base = signal_stack; + # else |