4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Amiga: Compilation problems when not using libnix.
12 Solution: Change a few #ifdefs. (Willy Catteau)
16 *** ../vim-7.0.109/src/memfile.c Tue Mar 7 00:27:12 2006
17 --- src/memfile.c Sun Sep 17 15:50:00 2006
20 mf_ins_free(mfp, hp); /* put *hp in the free list */
23 ! #if defined(__MORPHOS__)
24 /* function is missing in MorphOS libnix version */
25 extern unsigned long *__stdfiledes;
28 mf_ins_free(mfp, hp); /* put *hp in the free list */
31 ! #if defined(__MORPHOS__) && defined(__libnix__)
32 /* function is missing in MorphOS libnix version */
33 extern unsigned long *__stdfiledes;
38 # if defined(_DCC) || defined(__GNUC__) || defined(__MORPHOS__)
40 ! # if defined(__GNUC__) && !defined(__MORPHOS__)
41 /* Have function (in libnix at least),
42 * but ain't got no prototype anywhere. */
43 extern unsigned long fdtofh(int filedescriptor);
45 BPTR fh = (BPTR)fdtofh(mfp->mf_fd);
50 # else /* assume Manx */
51 Flush(_devtab[mfp->mf_fd].fd);
54 # if defined(_DCC) || defined(__GNUC__) || defined(__MORPHOS__)
56 ! # if defined(__GNUC__) && !defined(__MORPHOS__) && defined(__libnix__)
57 /* Have function (in libnix at least),
58 * but ain't got no prototype anywhere. */
59 extern unsigned long fdtofh(int filedescriptor);
61 + # if !defined(__libnix__)
64 BPTR fh = (BPTR)fdtofh(mfp->mf_fd);
70 # else /* assume Manx */
71 Flush(_devtab[mfp->mf_fd].fd);
72 *** ../vim-7.0.109/src/version.c Fri Sep 15 20:17:49 2006
73 --- src/version.c Tue Sep 26 13:48:48 2006
77 { /* Add new patch number below this line */
83 A fool must search for a greater fool to find admiration.
85 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
86 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
87 \\\ download, build and distribute -- http://www.A-A-P.org ///
88 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///