]>
Commit | Line | Data |
---|---|---|
d8621708 | 1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.025 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.2.025 | |
11 | Problem: Mac: Missing prototype for sigaltstack(). | |
12 | Solution: Add the prototype when it is not found in a header file. | |
13 | Files: src/os_unix.c | |
14 | ||
15 | ||
16 | *** ../vim-6.2.024/src/os_unix.c Wed Jul 2 21:36:41 2003 | |
17 | --- src/os_unix.c Thu Jul 24 21:25:57 2003 | |
18 | *************** | |
19 | *** 685,690 **** | |
20 | --- 689,700 ---- | |
21 | if (signal_stack != NULL) | |
22 | { | |
23 | # ifdef HAVE_SIGALTSTACK | |
24 | + # ifdef __APPLE__ | |
25 | + /* missing prototype. Adding it to osdef?.h.in doesn't work, because | |
26 | + * "struct sigaltstack" needs to be declared. */ | |
27 | + extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss)); | |
28 | + # endif | |
29 | + | |
30 | # ifdef HAVE_SS_BASE | |
31 | sigstk.ss_base = signal_stack; | |
32 | # else | |
33 | *** ../vim-6.2.024/src/version.c Thu Jul 24 21:08:45 2003 | |
34 | --- src/version.c Thu Jul 24 21:17:51 2003 | |
35 | *************** | |
36 | *** 632,633 **** | |
37 | --- 632,635 ---- | |
38 | { /* Add new patch number below this line */ | |
39 | + /**/ | |
40 | + 25, | |
41 | /**/ | |
42 | ||
43 | -- | |
44 | A M00se once bit my sister ... | |
45 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
46 | ||
47 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
48 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
49 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
50 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |