]>
Commit | Line | Data |
---|---|---|
341b3a37 | 1 | To: vim-dev@vim.org |
2 | Subject: Patch 5.7.020 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | ------------ | |
6 | ||
7 | Patch 5.7.020 | |
8 | Problem: Compilation doesn't work on MacOS-X. | |
9 | Solution: Add a couple of #ifdefs. (Jamie Curmi) | |
10 | Files: src/regexp.c, src/ctags/general.h | |
11 | ||
12 | ||
13 | *** ../vim-5.7.19/src/regexp.c Fri Aug 4 21:51:08 2000 | |
14 | --- src/regexp.c Tue Jan 2 21:08:01 2001 | |
15 | *************** | |
16 | *** 347,353 **** | |
17 | * If not: NULL is returned; If so, a function of the sort is* is returned and | |
18 | * the name is skipped. | |
19 | */ | |
20 | ! #if defined(macintosh) || defined(__BEOS__) | |
21 | /* the compiler doesn't understand the other one */ | |
22 | static int (* | |
23 | skip_class_name(char_u **pp))__ARGS((int)) | |
24 | --- 347,354 ---- | |
25 | * If not: NULL is returned; If so, a function of the sort is* is returned and | |
26 | * the name is skipped. | |
27 | */ | |
28 | ! #if defined(macintosh) || defined(__BEOS__) || defined(__NeXT__) \ | |
29 | ! || defined(__APPLE_CC__) | |
30 | /* the compiler doesn't understand the other one */ | |
31 | static int (* | |
32 | skip_class_name(char_u **pp))__ARGS((int)) | |
33 | *** ../vim-5.7.19/src/ctags/general.h Thu Jan 6 06:48:13 2000 | |
34 | --- src/ctags/general.h Tue Jan 2 21:10:05 2001 | |
35 | *************** | |
36 | *** 39,45 **** | |
37 | /* This is a helpful internal feature of later versions (> 2.7) of GCC | |
38 | * to prevent warnings about unused variables. | |
39 | */ | |
40 | ! #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) | |
41 | # define __unused__ __attribute__((unused)) | |
42 | #else | |
43 | # define __unused__ | |
44 | --- 39,45 ---- | |
45 | /* This is a helpful internal feature of later versions (> 2.7) of GCC | |
46 | * to prevent warnings about unused variables. | |
47 | */ | |
48 | ! #if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) && !defined(__APPLE_CC__) | |
49 | # define __unused__ __attribute__((unused)) | |
50 | #else | |
51 | # define __unused__ | |
52 | *** ../vim-5.7.19/src/version.c Tue Nov 28 22:53:54 2000 | |
53 | --- src/version.c Tue Jan 2 21:10:34 2001 | |
54 | *************** | |
55 | *** 439,440 **** | |
56 | --- 439,442 ---- | |
57 | { /* Add new patch number below this line */ | |
58 | + /**/ | |
59 | + 20, | |
60 | /**/ | |
61 | ||
62 | -- | |
63 | hundred-and-one symptoms of being an internet addict: | |
64 | 180. You maintain more than six e-mail addresses. | |
65 | ||
66 | /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ | |
67 | ((( Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim ))) | |
68 | \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org /// |