home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.0 / 7.0.057 < prev    next >
Encoding:
Internet Message Format  |  2006-08-15  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.0.057 (extra)
  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 7.0.057 (extra, after 7.0.45)
  11. Problem:    Win32: Compilation problem with Borland C 5.5.
  12. Solution:   Include vim.h as before. (Mark S. Williams)
  13. Files:        src/if_ole.cpp
  14.  
  15.  
  16. *** ../vim-7.0.056/src/if_ole.cpp    Tue Aug  8 17:06:21 2006
  17. --- src/if_ole.cpp    Sun Aug 13 12:57:24 2006
  18. ***************
  19. *** 13,26 ****
  20.    * See os_mswin.c for the client side.
  21.    */
  22.   
  23.   extern "C" {
  24. ! #include "vim.h"
  25.   }
  26.   
  27.   #include <windows.h>
  28.   #include <oleauto.h>
  29.   
  30.   extern "C" {
  31.   extern HWND s_hwnd;
  32.   extern HWND vim_parent_hwnd;
  33.   }
  34. --- 13,35 ----
  35.    * See os_mswin.c for the client side.
  36.    */
  37.   
  38. + /*
  39. +  * We have some trouble with order of includes here.  For Borland it needs to
  40. +  * be different from MSVC...
  41. +  */
  42. + #ifndef __BORLANDC__
  43.   extern "C" {
  44. ! # include "vim.h"
  45.   }
  46. + #endif
  47.   
  48.   #include <windows.h>
  49.   #include <oleauto.h>
  50.   
  51.   extern "C" {
  52. + #ifdef __BORLANDC__
  53. + # include "vim.h"
  54. + #endif
  55.   extern HWND s_hwnd;
  56.   extern HWND vim_parent_hwnd;
  57.   }
  58. *** ../vim-7.0.056/src/version.c    Wed Aug 16 17:06:22 2006
  59. --- src/version.c    Wed Aug 16 17:35:57 2006
  60. ***************
  61. *** 668,669 ****
  62. --- 668,671 ----
  63.   {   /* Add new patch number below this line */
  64. + /**/
  65. +     57,
  66.   /**/
  67.  
  68. -- 
  69. Send $25.00 for handy leaflet on how to make money by selling leaflets
  70.  
  71.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  72. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  73. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  74.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  75.