Karsten Hopp 8454b7
To: vim-dev@vim.org
Karsten Hopp 8454b7
Subject: Patch 7.0.057 (extra)
Karsten Hopp 8454b7
Fcc: outbox
Karsten Hopp 8454b7
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 8454b7
Mime-Version: 1.0
Karsten Hopp 8454b7
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 8454b7
Content-Transfer-Encoding: 8bit
Karsten Hopp 8454b7
------------
Karsten Hopp 8454b7
Karsten Hopp 8454b7
Patch 7.0.057 (extra, after 7.0.45)
Karsten Hopp 8454b7
Problem:    Win32: Compilation problem with Borland C 5.5.
Karsten Hopp 8454b7
Solution:   Include vim.h as before. (Mark S. Williams)
Karsten Hopp 8454b7
Files:	    src/if_ole.cpp
Karsten Hopp 8454b7
Karsten Hopp 8454b7
Karsten Hopp 8454b7
*** ../vim-7.0.056/src/if_ole.cpp	Tue Aug  8 17:06:21 2006
Karsten Hopp 8454b7
--- src/if_ole.cpp	Sun Aug 13 12:57:24 2006
Karsten Hopp 8454b7
***************
Karsten Hopp 8454b7
*** 13,26 ****
Karsten Hopp 8454b7
   * See os_mswin.c for the client side.
Karsten Hopp 8454b7
   */
Karsten Hopp 8454b7
  
Karsten Hopp 8454b7
  extern "C" {
Karsten Hopp 8454b7
! #include "vim.h"
Karsten Hopp 8454b7
  }
Karsten Hopp 8454b7
  
Karsten Hopp 8454b7
  #include <windows.h>
Karsten Hopp 8454b7
  #include <oleauto.h>
Karsten Hopp 8454b7
  
Karsten Hopp 8454b7
  extern "C" {
Karsten Hopp 8454b7
  extern HWND s_hwnd;
Karsten Hopp 8454b7
  extern HWND vim_parent_hwnd;
Karsten Hopp 8454b7
  }
Karsten Hopp 8454b7
--- 13,35 ----
Karsten Hopp 8454b7
   * See os_mswin.c for the client side.
Karsten Hopp 8454b7
   */
Karsten Hopp 8454b7
  
Karsten Hopp 8454b7
+ /*
Karsten Hopp 8454b7
+  * We have some trouble with order of includes here.  For Borland it needs to
Karsten Hopp 8454b7
+  * be different from MSVC...
Karsten Hopp 8454b7
+  */
Karsten Hopp 8454b7
+ #ifndef __BORLANDC__
Karsten Hopp 8454b7
  extern "C" {
Karsten Hopp 8454b7
! # include "vim.h"
Karsten Hopp 8454b7
  }
Karsten Hopp 8454b7
+ #endif
Karsten Hopp 8454b7
  
Karsten Hopp 8454b7
  #include <windows.h>
Karsten Hopp 8454b7
  #include <oleauto.h>
Karsten Hopp 8454b7
  
Karsten Hopp 8454b7
  extern "C" {
Karsten Hopp 8454b7
+ #ifdef __BORLANDC__
Karsten Hopp 8454b7
+ # include "vim.h"
Karsten Hopp 8454b7
+ #endif
Karsten Hopp 8454b7
  extern HWND s_hwnd;
Karsten Hopp 8454b7
  extern HWND vim_parent_hwnd;
Karsten Hopp 8454b7
  }
Karsten Hopp 8454b7
*** ../vim-7.0.056/src/version.c	Wed Aug 16 17:06:22 2006
Karsten Hopp 8454b7
--- src/version.c	Wed Aug 16 17:35:57 2006
Karsten Hopp 8454b7
***************
Karsten Hopp 8454b7
*** 668,669 ****
Karsten Hopp 8454b7
--- 668,671 ----
Karsten Hopp 8454b7
  {   /* Add new patch number below this line */
Karsten Hopp 8454b7
+ /**/
Karsten Hopp 8454b7
+     57,
Karsten Hopp 8454b7
  /**/
Karsten Hopp 8454b7
Karsten Hopp 8454b7
-- 
Karsten Hopp 8454b7
Send $25.00 for handy leaflet on how to make money by selling leaflets
Karsten Hopp 8454b7
Karsten Hopp 8454b7
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 8454b7
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 8454b7
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 8454b7
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///